summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--autoscripts/postrm-init2
-rw-r--r--autoscripts/prerm-info4
-rwxr-xr-xdh_install3
3 files changed, 6 insertions, 3 deletions
diff --git a/autoscripts/postrm-init b/autoscripts/postrm-init
index 9596dd97..1c292982 100644
--- a/autoscripts/postrm-init
+++ b/autoscripts/postrm-init
@@ -1,3 +1,3 @@
if [ "$1" = "purge" ] ; then
- update-rc.d #SCRIPT# remove #INITPARMS# >/dev/null
+ update-rc.d #SCRIPT# remove >/dev/null
fi
diff --git a/autoscripts/prerm-info b/autoscripts/prerm-info
index b3f53ccd..6d13234e 100644
--- a/autoscripts/prerm-info
+++ b/autoscripts/prerm-info
@@ -1 +1,3 @@
-install-info --quiet --remove #FILE#
+if [ "$1" = remove ]; then
+ install-info --quiet --remove #FILE#
+fi
diff --git a/dh_install b/dh_install
index 779b9d6e..e43229a5 100755
--- a/dh_install
+++ b/dh_install
@@ -62,7 +62,8 @@ filename. So if the filename is debian/tmp/usr/bin, then that directory
will be copied to debian/package/usr/. If the filename is
debian/tmp/etc/passwd, it will be copied to debian/package/etc/.
-Note that if you list only a filename on a line by itself in a
+Note that if you list exactly one filename or wildcard-pattern on a line by
+itself in a
debian/package.install file, with no explicit destination, then dh_install
will automatically guess the destination even if this flag is not set.