From: joey Date: Tue, 17 Aug 1999 05:09:04 +0000 (+0000) Subject: r166: Initial Import X-Git-Tag: debian_version_0_1~75 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=60f9263c40e023a3ee8562815845ad995ffffa44;p=debhelper.git r166: Initial Import --- diff --git a/debian/changelog b/debian/changelog index ddd2e33..6b36d7b 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 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 10baaa0..6825ed6 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 f76ec91..bef681c 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