summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjoey <joey>1999-08-17 05:09:04 +0000
committerjoey <joey>1999-08-17 05:09:04 +0000
commit60f9263c40e023a3ee8562815845ad995ffffa44 (patch)
treeddca3dfb6f6c5a61279e0c6a612cb1b91e23b916
parent87ad9f2cc4e7c4432a40b3c1d2ddc91ffcb764bb (diff)
downloaddebhelper-60f9263c40e023a3ee8562815845ad995ffffa44.tar.gz
r166: Initial Import
-rw-r--r--debian/changelog7
-rwxr-xr-xdh_fixperms10
-rw-r--r--dh_installinit.12
3 files changed, 10 insertions, 9 deletions
diff --git a/debian/changelog b/debian/changelog
index ddd2e33a..6b36d7b0 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+debhelper (1.2.30) unstable; urgency=low
+
+ * dh_fixperms: cut down the number of chmod commands that are executed
+ from 3 to 1, no change in functionality.
+
+ -- Joey Hess <joeyh@master.debian.org> Mon, 1 Feb 1999 17:05:29 -0800
+
debhelper (1.2.29) unstable; urgency=high
* Do not include bogus chsh, chfn, passwd links in debhelper binary!
diff --git a/dh_fixperms b/dh_fixperms
index 10baaa01..6825ed6d 100755
--- a/dh_fixperms
+++ b/dh_fixperms
@@ -15,9 +15,7 @@ foreach $PACKAGE (@{$dh{DOPACKAGES}}) {
# this if there is nothing to exclude.
if (-d $TMP) {
doit("chown","-R","root.root",$TMP);
- doit("chmod","-R","go=rX",$TMP);
- doit("chmod","-R","u+rw",$TMP);
- doit("chmod","-R","a-s",$TMP);
+ doit("chmod","-R","go=rX,u+rw,a-s",$TMP);
}
$find_options="";
@@ -27,11 +25,7 @@ foreach $PACKAGE (@{$dh{DOPACKAGES}}) {
complex_doit("find $TMP ! \\( $dh{EXCLUDE_FIND} \\) -print0 \
2>/dev/null | xargs -0r chown root.root");
complex_doit("find $TMP ! \\( $dh{EXCLUDE_FIND} \\) -print0 \
- 2>/dev/null | xargs -0r chmod go=rX");
- complex_doit("find $TMP ! \\( $dh{EXCLUDE_FIND} \\) -print0 \
- 2>/dev/null | xargs -0r chmod u+rw");
- complex_doit("find $TMP ! \\( $dh{EXCLUDE_FIND} \\) -print0 \
- 2>/dev/null | xargs -0r chmod a-s");
+ 2>/dev/null | xargs -0r chmod go=rX,u+rw,a-s");
$find_options="! \\( $dh{EXCLUDE_FIND} \\)";
}
diff --git a/dh_installinit.1 b/dh_installinit.1
index f76ec917..bef681cb 100644
--- a/dh_installinit.1
+++ b/dh_installinit.1
@@ -39,7 +39,7 @@ the --init-script parameter described below.)
.B \-uparams, \--update-rcd-params=params
Pass "params" to
.BR update-rc.d (8)
-If not specified, "default" will be passed to
+If not specified, "defaults" will be passed to
.BR update-rc.d (8)
.TP
.B \--init-script=scriptname