summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjoey <joey>1999-08-17 04:58:40 +0000
committerjoey <joey>1999-08-17 04:58:40 +0000
commit225d86509ae859057d89f3ad88c1b6de7c8e98ba (patch)
tree02415d476f2e8d7423797d6c6a61bc3eb812a66a
parenta08b76c3505687f6298f762a28a80c34d2e9f07f (diff)
downloaddebhelper-225d86509ae859057d89f3ad88c1b6de7c8e98ba.tar.gz
r115: Initial Import
-rw-r--r--debian/changelog7
-rwxr-xr-xdh_clean2
-rwxr-xr-xdh_fixperms6
-rw-r--r--doc/TODO3
4 files changed, 14 insertions, 4 deletions
diff --git a/debian/changelog b/debian/changelog
index 725f2ac6..f1a479e4 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+debhelper (1.1.9) unstable; urgency=low
+
+ * dh_fixperms: has been removing the +x bits of all doc/*/examples/* files
+ since version 0.97 or so. Fixed.
+
+ -- Joey Hess <joeyh@master.debian.org> Sun, 16 Aug 1998 17:11:48 -0700
+
debhelper (1.1.8) unstable; urgency=low
* Dh_Lib.pm: made U_PARAMS an array of parameters.
diff --git a/dh_clean b/dh_clean
index 3388f146..544c09a0 100755
--- a/dh_clean
+++ b/dh_clean
@@ -25,7 +25,7 @@ if (@ARGV) {
}
if (! $dh{K_FLAG}) {
- doit("rm","-f","debian/files*");
+ doit("rm","-f","debian/files");
}
# Remove other temp files.
diff --git a/dh_fixperms b/dh_fixperms
index 544ee9be..0e845335 100755
--- a/dh_fixperms
+++ b/dh_fixperms
@@ -18,7 +18,7 @@ for PACKAGE in $DH_DOPACKAGES; do
doit "chmod -R u+rw $TMP"
fi
- FIND_OPTIONS=
+ FIND_OPTIONS=""
else
# Do it the hard way.
complex_doit "find $TMP ! \( $DH_EXCLUDE_FIND \) -print0 \
@@ -33,8 +33,8 @@ for PACKAGE in $DH_DOPACKAGES; do
# Fix up premissions in usr/doc, setting everything to not exectable
# by default, but leave examples directories alone.
- complex_doit "find $TMP/usr/doc -type f $FIND_OPTIONS -print0 \
- 2>/dev/null | xargs -0r chmod 644"
+ complex_doit "find $TMP/usr/doc -type f $FIND_OPTIONS ! -regex .\*/examples/.\* -print0 \
+ 2>/dev/null | xargs -0r chmod 644"
complex_doit "find $TMP/usr/doc -type d $FIND_OPTIONS -print0 \
2>/dev/null | xargs -0r chmod 755"
diff --git a/doc/TODO b/doc/TODO
index a4e4a10d..460abc63 100644
--- a/doc/TODO
+++ b/doc/TODO
@@ -69,3 +69,6 @@ Fixes to backport to 1.0 tree:
* dh_installdocs used -m 655 for a TODO file. (minor, dh_fixperms cleans up
after it)
+* dh_fixperms had a problkem with removing x bits on examples files -
+ backport fix.
+