summaryrefslogtreecommitdiff
path: root/autoscripts
diff options
context:
space:
mode:
authorjoey <joey>2003-12-29 19:28:08 +0000
committerjoey <joey>2003-12-29 19:28:08 +0000
commit37bd413a2803ccf42612a8629c107c0342d96264 (patch)
tree5a5e161e9f89cd867d0075f926d0892de8201929 /autoscripts
parenta1f2dc0f983793387d9b3c558aee76b409809728 (diff)
r1632: * Clarify dh_install's autodest behavior with wildcards. Closes: #224707
Diffstat (limited to 'autoscripts')
-rw-r--r--autoscripts/postrm-init2
-rw-r--r--autoscripts/prerm-info4
2 files changed, 4 insertions, 2 deletions
diff --git a/autoscripts/postrm-init b/autoscripts/postrm-init
index 9596dd9..1c29298 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 b3f53cc..6d13234 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