summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjoey <joey>1999-08-17 05:07:21 +0000
committerjoey <joey>1999-08-17 05:07:21 +0000
commit84c275b57198f8d11154d0c9d17b97faca3c800c (patch)
tree32a3946574a83a10442893f09fa3dc3282693939
parent8d3f10b38de49099f20a7a0115dafdb318fbb2c0 (diff)
downloaddebhelper-84c275b57198f8d11154d0c9d17b97faca3c800c.tar.gz
r158: Initial Import
-rw-r--r--debian/changelog6
-rwxr-xr-xdh_suidregister2
2 files changed, 7 insertions, 1 deletions
diff --git a/debian/changelog b/debian/changelog
index 5cdf2f47..2a15b97a 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+debhelper (1.2.22) unstable; urgency=low
+
+ * Reversed change in last version; don't clobber mode (#31628).
+
+ -- Joey Hess <joeyh@master.debian.org> Fri, 8 Jan 1999 15:01:25 -0800
+
debhelper (1.2.21) unstable; urgency=low
* dh_installdocs: Added doc-base support, if debian/<package>.doc-base
diff --git a/dh_suidregister b/dh_suidregister
index 951984fe..d5b10ebd 100755
--- a/dh_suidregister
+++ b/dh_suidregister
@@ -52,7 +52,7 @@ foreach $PACKAGE (@{$dh{DOPACKAGES}}) {
$group=getgrgid($gid);
# Note that I have to print mode in ocal, stripping file type.
$sedstr=sprintf("s:#FILE#:$file:;s/#PACKAGE#/$PACKAGE/;s/#OWNER#/$user/;s/#GROUP#/$group/;s/#PERMS#/%#o/",
- $mode & 00777);
+ $mode & 07777);
autoscript($PACKAGE,"postinst","postinst-suid",$sedstr);
autoscript($PACKAGE,"postrm","postrm-suid","$sedstr");