]> git.donarmstrong.com Git - debhelper.git/commitdiff
r487: * dh_movefiles: Typo, Closes: #106532
authorjoey <joey>
Thu, 23 Aug 2001 19:52:25 +0000 (19:52 +0000)
committerjoey <joey>
Thu, 23 Aug 2001 19:52:25 +0000 (19:52 +0000)
   * Use -x to test for existance of init scripts, rather then -e since
     we'll be running them, Closes: #109692
   * dh_clean: remove debian/*.debhelper. No need to name files
     specifically; any file matching that is a debhelper temp file.
Closes: #106514, #85520
autoscripts/postinst-init
autoscripts/postinst-init-norestart
autoscripts/prerm-init
autoscripts/prerm-init-norestart
debian/changelog
debian/control
dh_clean
doc/TODO

index 159b12d70c3aeb745ab76fcd4415b5689e589be0..051f77474c40adc46ec12d7c32046ed70a31845c 100644 (file)
@@ -1,4 +1,4 @@
-if [ -e "/etc/init.d/#SCRIPT#" ]; then
+if [ -x "/etc/init.d/#SCRIPT#" ]; then
        update-rc.d #SCRIPT# #INITPARMS# >/dev/null
        /etc/init.d/#SCRIPT# start
 fi
index 3445f149e99ce28c9b32b879c2ad6a3b365eea07..4f1c63f93a12c3060c25e90128b1b80721f59114 100644 (file)
@@ -1,4 +1,4 @@
-if [ -e "/etc/init.d/#SCRIPT#" ]; then
+if [ -x "/etc/init.d/#SCRIPT#" ]; then
        update-rc.d #SCRIPT# #INITPARMS# >/dev/null
        if [ "$1" = "configure" ]; then
                if [ -z "$2" -o "$2" = "<unknown>" ]; then
index 9ffa64b749dd235e82ecbb55585ec4dd263fb91f..9882c7c07a853356e3dd543805902369dde12347 100644 (file)
@@ -1,3 +1,3 @@
-if [ -e "/etc/init.d/#SCRIPT#" ]; then
+if [ -x "/etc/init.d/#SCRIPT#" ]; then
        /etc/init.d/#SCRIPT# stop
 fi
index 47a49d4a65ac50c947d41fd97417305d6bf108f6..b7e311d3efc39ad23b92bd6286be08482f70fbfa 100644 (file)
@@ -1,3 +1,3 @@
-if [ -e "/etc/init.d/#SCRIPT#" -a "$1" = remove ]; then
+if [ -x "/etc/init.d/#SCRIPT#" -a "$1" = remove ]; then
        /etc/init.d/#SCRIPT# stop
 fi
index a569e78d1313b1898f4df3c5c20957007ae1cd64..37becd64dcb3ef61a0235a65c4cf06689b1ae9a2 100644 (file)
@@ -1,11 +1,13 @@
-debhelper (3.0.41) unstable; urgency=low
+debhelper (3.0.42) unstable; urgency=low
 
-  * Clean up old substvars.debhelper files, although debhelper doesn't
-    generate them now, it used to and they may still be lurking in build
-    trees. Closes: #106514
-  * Fixed a typo. Closes: #106532
+  * dh_movefiles: Typo, Closes: #106532
+  * Use -x to test for existance of init scripts, rather then -e since
+    we'll be running them, Closes: #109692
+  * dh_clean: remove debian/*.debhelper. No need to name files 
+    specifically; any file matching that is a debhelper temp file. 
+    Closes: #106514, #85520
 
- -- Joey Hess <joeyh@debian.org>  Wed, 25 Jul 2001 17:04:21 -0400
+ -- Joey Hess <joeyh@debian.org>  Thu, 23 Aug 2001 15:47:35 -0400
 
 debhelper (3.0.40) unstable; urgency=low
 
index 2f9d0bbf62d13c5d2e3b66861cdfb464d54b6e2c..8eb366686037dce3253d5cbff89ad95e1d2f3a46 100644 (file)
@@ -3,7 +3,7 @@ Section: devel
 Priority: optional
 Maintainer: Joey Hess <joeyh@debian.org>
 Build-Depends-Indep: perl, fileutils (>= 4.0-2.1), file (>= 3.23-1), debconf-utils
-Standards-Version: 3.2.1.0
+Standards-Version: 3.5.6.0
 
 Package: debhelper
 Architecture: all
index 570179b9573e969bf5b6d28b441cefd2f4755897..388f913c727117ec9ef04c46a844553604631906 100755 (executable)
--- a/dh_clean
+++ b/dh_clean
@@ -18,8 +18,8 @@ use Debian::Debhelper::Dh_Lib;
 dh_clean is a debhelper program that is responsible for cleaning up after a
 package is built. It removes the package build directories, and removes some
 other files, such as debian/substvars, debian/files, and any detritus left
-behind by other debhelper commands. It also removes common files that
-should not appear in a debian diff:
+behind by other debhelper commands (debian/*.debhelper). It also removes
+common files that should not appear in a debian diff:
   #*# *~ DEADJOE *.orig *.rej *.SUMS TAGS core .deps/* *.P
 
 =head1 OPTIONS
@@ -62,12 +62,7 @@ foreach my $package (@{$dh{DOPACKAGES}}) {
        my $ext=pkgext($package);
 
        if (! $dh{D_FLAG}) {
-               doit("rm","-f","debian/${ext}substvars",
-                       "debian/${ext}substvars.debhelper",
-                       "debian/${ext}postinst.debhelper",
-                       "debian/${ext}postrm.debhelper",
-                       "debian/${ext}preinst.debhelper",
-                       "debian/${ext}prerm.debhelper");
+               doit("rm","-f","debian/${ext}substvars");
        }
        
        doit ("rm","-rf",$tmp);
@@ -82,14 +77,9 @@ if (! $dh{D_FLAG}) {
                doit("rm","-f","debian/files");
        }
 
-       # Remove some files that were left around by older versions of
-       # debhelper, just in case someone upgrades in the middle of a
-       # build.
-       doit("rm","-f","debian/substvars",
-               "debian/postinst.debhelper",
-               "debian/postrm.debhelper",
-               "debian/preinst.debhelper",
-               "debian/prerm.debhelper");
+       # These are all debhelper temp files, and so it is safe to 
+       # wildcard them.
+       complex_doit("rm -f debian/*.debhelper");
 
        # See if some files that would normally be deleted are excluded.
        my $find_options='';
index eb12909cd8f00aebff73765ad3ff5e6d2cd50eb9..bdc6fe9941daa6c4e9c264835d06973dea7ea7e0 100644 (file)
--- a/doc/TODO
+++ b/doc/TODO
@@ -40,10 +40,6 @@ Wishlist items:
 * All programs should also make sure the files they install are owned by
   root.root. Situation is currently the same as with permissions above, plus
   dh_installchangelogs is fixed.
-* Need a way to make dh_strip not strip any static libs. Also, it'd be nice
-  if there were options to dh_strip, dh_compress, etc, to allow inclusion of
-  directories and exclusion of files based on filename globbing. (Request from
-  Matthias Klose <doko@cs.tu-berlin.de>)
 * Support use of environment variables in data taken from user, ie, in
   debian/dirs. The problem with doing this is that we really want to allow
   any filenames in that input, even those that look like environment
@@ -53,12 +49,10 @@ Wishlist items:
   multiple commands call. One way to do this would be to write dh_cache,
   that generates the cache. The catch is that if the user runs that program,
   they are stating that they don't do anything later to invalidate the cache,
-  without calling ch_cache again. (#23792)
+  without calling dh_cache again. (#23792)
 * Add a switch to dh_installdeb to allow it to do user defined
   substitutions. OTOH, maybe it's better if people just sed
   postinst.in before debhelper gets it's hands on it... (#25235)
-* objdump -p can get the soname of a library, try using that in dh_shlibs
-  instead of parsing filenames.
 
 Deprecated: