~ubuntu-branches/ubuntu/maverick/atool/maverick

« back to all changes in this revision

Viewing changes to debian/patches/01-manpage_format_uppercase.dpatch

  • Committer: Bazaar Package Importer
  • Author(s): Francois Marier
  • Date: 2008-06-24 16:57:28 UTC
  • mfrom: (3.1.3 intrepid)
  • Revision ID: james.westby@ubuntu.com-20080624165728-0w49yzajqu84lxg8
Tags: 0.35.0-4
Fix typos in README.Debian

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
#! /bin/sh -e
2
 
## 01-manpage_format_uppercase.dpatch by Stephane Jourdois <kwisatz@rubis.org>
3
 
##
4
 
## DP: Fixes two little typos in man page.
5
 
 
6
 
if [ $# -lt 1 ]; then
7
 
    echo "`basename $0`: script expects -patch|-unpatch as argument" >&2
8
 
    exit 1
9
 
fi
10
 
 
11
 
[ -f debian/patches/00patch-opts ] && . debian/patches/00patch-opts
12
 
patch_opts="${patch_opts:--f --no-backup-if-mismatch} ${2:+-d $2}"
13
 
 
14
 
case "$1" in
15
 
    -patch) patch -p0 ${patch_opts} < $0;;
16
 
    -unpatch) patch -R -p0 ${patch_opts} < $0;;
17
 
    *)
18
 
        echo "`basename $0`: script expects -patch|-unpatch as argument" >&2
19
 
        exit 1;;
20
 
esac
21
 
 
22
 
exit 0
23
 
 
24
 
--- atool.1.in  2004-07-02 10:21:58.000000000 +0200
25
 
+++ atool.1.in.modified 2004-08-11 16:38:33.000000000 +0200
26
 
@@ -45,7 +45,7 @@
27
 
 \fBadiff\fP generates a diff between two archives using
28
 
 diff(1).
29
 
 .PP
30
 
-Unless the \fB\-\-format\fP (\fB\-f\fP) option is provided,
31
 
+Unless the \fB\-\-format\fP (\fB\-F\fP) option is provided,
32
 
 the archive format is determined by the archive file extension. I.e.
33
 
 an extension ".tar.gz" or ".tgz" means tar+gzip format. Note that
34
 
 the extensions are checked in the order listed in the section
35
 
@@ -170,7 +170,7 @@
36
 
 .B \-\-version
37
 
 Output version information and exit.
38
 
 .SH ARCHIVE TYPES
39
 
-Unless the \-f (\-\-format) option is provided, the archive format
40
 
+Unless the \-F (\-\-format) option is provided, the archive format
41
 
 is determined by the archive file extension. I.e. an extension
42
 
 ".tar.gz" or ".tgz" means tar+gzip format. Note that the extensions
43
 
 are checked in the other listed above, which is why a file