summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjoey <joey>1999-08-17 05:15:10 +0000
committerjoey <joey>1999-08-17 05:15:10 +0000
commit2e2caf1f612889f7862b401f73ee7af685863011 (patch)
treeaee84d05ad6e91822957c52ab118ddf3fec4d0a9
parentdfa35b90e0703738c55e8cf177d28c9c83a46aba (diff)
downloaddebhelper-2e2caf1f612889f7862b401f73ee7af685863011.tar.gz
r213: Initial Import
-rw-r--r--debian/changelog8
-rwxr-xr-xdh_installemacsen6
-rwxr-xr-xdh_installmanpages2
3 files changed, 12 insertions, 4 deletions
diff --git a/debian/changelog b/debian/changelog
index 9ea49a2e..03df5b3b 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,11 @@
+debhelper (1.2.73) unstable; urgency=low
+
+ * dh_installemacsen: make sure files are installed mode 0644. Not strictly
+ necessary since dh_fixperms fixes them if you have a wacky umask, but oh
+ well. (Closes: 38900)
+
+ -- Joey Hess <joeyh@master.debian.org> Thu, 3 Jun 1999 14:50:42 -0700
+
debhelper (1.2.72) unstable; urgency=low
* dh_installemacsen: use debian/package.emacsen-startup, not
diff --git a/dh_installemacsen b/dh_installemacsen
index 778720a1..f271338f 100755
--- a/dh_installemacsen
+++ b/dh_installemacsen
@@ -24,21 +24,21 @@ foreach $PACKAGE (@{$dh{DOPACKAGES}}) {
if (! -d "$TMP/usr/lib/emacsen-common/packages/install") {
doit("install","-d","$TMP/usr/lib/emacsen-common/packages/install");
}
- doit("install",$emacsen_install,"$TMP/usr/lib/emacsen-common/packages/install/$PACKAGE");
+ doit("install","-m0644",$emacsen_install,"$TMP/usr/lib/emacsen-common/packages/install/$PACKAGE");
}
if ($emacsen_remove ne '') {
if (! -d "$TMP/usr/lib/emacsen-common/packages/remove") {
doit("install","-d","$TMP/usr/lib/emacsen-common/packages/remove");
}
- doit("install","$emacsen_remove","$TMP/usr/lib/emacsen-common/packages/remove/$PACKAGE");
+ doit("install","-m0644","$emacsen_remove","$TMP/usr/lib/emacsen-common/packages/remove/$PACKAGE");
}
if ($emacsen_startup ne '') {
if (! -d "$TMP/etc/$dh{flavor}/site-start.d/") {
doit("install","-d","$TMP/etc/$dh{flavor}/site-start.d/");
}
- doit("install",$emacsen_startup,"$TMP/etc/$dh{flavor}/site-start.d/$dh{number}$PACKAGE.el");
+ doit("install","-m0644",$emacsen_startup,"$TMP/etc/$dh{flavor}/site-start.d/$dh{number}$PACKAGE.el");
}
if ($emacsen_install ne '' || $emacsen_remove ne '') {
diff --git a/dh_installmanpages b/dh_installmanpages
index 98386254..f4dca9a3 100755
--- a/dh_installmanpages
+++ b/dh_installmanpages
@@ -34,7 +34,7 @@ sub find_man {
}
# And file does think it's a real man page?
- my $type=`file $_`;
+ my $type=`file -z $_`;
if ($type !~ m/:.*roff/) {
return;
}