~ubuntu-branches/ubuntu/precise/a2ps/precise-security

« back to all changes in this revision

Viewing changes to debian/patches/05_deskjet_numbers_fix.dpatch

  • Committer: Bazaar Package Importer
  • Author(s): Masayuki Hatta (mhatta)
  • Date: 2004-03-03 20:36:47 UTC
  • Revision ID: james.westby@ubuntu.com-20040303203647-f3s35kn1aul02owv
Tags: 1:4.13b-2
Added psutils to Recommends: - closes: #234861

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#! /bin/sh -e
 
2
## 02_deskjet_numbers_fix.dpatch by Masayuki Hatta <mhatta@debian.org>
 
3
##
 
4
## All lines beginning with \`## DP:' are a description of the patch.
 
5
## DP: Fixes wrong default values for deskjet printers
 
6
 
 
7
if [ $# -ne 1 ]; then
 
8
    echo >&2 "`basename $0`: script expects -patch|-unpatch as argument"
 
9
    exit 1
 
10
fi
 
11
case "$1" in
 
12
        -patch) patch -f --no-backup-if-mismatch --dry-run -p0 < $0 && patch -f --no-backup-if-mismatch -p0 < $0
 
13
;;
 
14
        -unpatch) patch -f --no-backup-if-mismatch -R -p0 < $0;;
 
15
        *)
 
16
                echo >&2 "`basename $0`: script expects -patch|-unpatch as argument"
 
17
                exit 1;;
 
18
esac
 
19
 
 
20
exit 0
 
21
 
 
22
--- etc/a2ps_cfg.in.orig        2003-04-01 02:42:16.000000000 +0900
 
23
+++ etc/a2ps_cfg.in     2003-04-01 02:42:57.000000000 +0900
 
24
@@ -59,8 +59,8 @@
 
25
 Medium: 10x14      720    1008
 
26
 
 
27
 # Desk Jet users: bigger margins
 
28
-Medium: A4dj           595     842     24      50      571     818
 
29
-Medium: Letterdj       612     792     24      40      588     768
 
30
+Medium: A4dj            595     842     24      50      571     792
 
31
+Medium: Letterdj        612     792     24      40      588     752
 
32
 
 
33
 
 
34