From 2e2caf1f612889f7862b401f73ee7af685863011 Mon Sep 17 00:00:00 2001 From: joey Date: Tue, 17 Aug 1999 05:15:10 +0000 Subject: [PATCH] r213: Initial Import --- debian/changelog | 8 ++++++++ dh_installemacsen | 6 +++--- dh_installmanpages | 2 +- 3 files changed, 12 insertions(+), 4 deletions(-) diff --git a/debian/changelog b/debian/changelog index 9ea49a2..03df5b3 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 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 778720a..f271338 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 9838625..f4dca9a 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; } -- 2.39.5