diff options
author | joey <joey> | 2001-08-23 19:52:25 +0000 |
---|---|---|
committer | joey <joey> | 2001-08-23 19:52:25 +0000 |
commit | 1f33258d1a687b64d7252fc144c2dd5530740272 (patch) | |
tree | e3fec3cd322240967f64df0b3dc7e533b4f4a067 /autoscripts | |
parent | 23c8924fc90386d1a08061ff19ad7c0d01d6b2c1 (diff) | |
download | debhelper-1f33258d1a687b64d7252fc144c2dd5530740272.tar.gz |
r487: * 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
Diffstat (limited to 'autoscripts')
-rw-r--r-- | autoscripts/postinst-init | 2 | ||||
-rw-r--r-- | autoscripts/postinst-init-norestart | 2 | ||||
-rw-r--r-- | autoscripts/prerm-init | 2 | ||||
-rw-r--r-- | autoscripts/prerm-init-norestart | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/autoscripts/postinst-init b/autoscripts/postinst-init index 159b12d7..051f7747 100644 --- a/autoscripts/postinst-init +++ b/autoscripts/postinst-init @@ -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 diff --git a/autoscripts/postinst-init-norestart b/autoscripts/postinst-init-norestart index 3445f149..4f1c63f9 100644 --- a/autoscripts/postinst-init-norestart +++ b/autoscripts/postinst-init-norestart @@ -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 diff --git a/autoscripts/prerm-init b/autoscripts/prerm-init index 9ffa64b7..9882c7c0 100644 --- a/autoscripts/prerm-init +++ b/autoscripts/prerm-init @@ -1,3 +1,3 @@ -if [ -e "/etc/init.d/#SCRIPT#" ]; then +if [ -x "/etc/init.d/#SCRIPT#" ]; then /etc/init.d/#SCRIPT# stop fi diff --git a/autoscripts/prerm-init-norestart b/autoscripts/prerm-init-norestart index 47a49d4a..b7e311d3 100644 --- a/autoscripts/prerm-init-norestart +++ b/autoscripts/prerm-init-norestart @@ -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 |