[ps-watcher] 20/88: fixies
Jan Wagner
waja at alioth.debian.org
Fri Nov 8 23:06:33 UTC 2013
This is an automated email from the git hooks/post-receive script.
waja pushed a commit to branch master
in repository ps-watcher.
commit cbd315a9a4a5743ab0cdd6c4cc893178ec676612
Author: Jan Wagner <waja at cyconet.org>
Date: Thu Nov 9 08:13:34 2006 +0000
fixies
---
debian/postinst | 3 ++-
debian/prerm | 4 +++-
2 files changed, 5 insertions(+), 2 deletions(-)
diff --git a/debian/postinst b/debian/postinst
index a70b870..0321690 100644
--- a/debian/postinst
+++ b/debian/postinst
@@ -7,7 +7,7 @@ fi
if [ -x "/etc/init.d/ps-watcher" ]; then
update-rc.d ps-watcher defaults 40 >/dev/null
- if [ "$startup" == "1" ] && [ -f $CONFIG ]; then
+ if [ "$startup" = "1" ] && [ -f $CONFIG ]; then
if [ -x "`which invoke-rc.d 2>/dev/null`" ]; then
invoke-rc.d ps-watcher start || exit $?
else
@@ -16,3 +16,4 @@ if [ -x "/etc/init.d/ps-watcher" ]; then
fi
fi
+#DEBHELPER#
diff --git a/debian/prerm b/debian/prerm
index 06953aa..e33c801 100644
--- a/debian/prerm
+++ b/debian/prerm
@@ -5,10 +5,12 @@ then
. /etc/default/ps-watcher
fi
-if [ -x "/etc/init.d/ps-watcher" ] && [ "$startup" == "1" ] && [ -f $CONFIG ]; then
+if [ -x "/etc/init.d/ps-watcher" ] && [ "$startup" = "1" ] && [ -f $CONFIG ]; then
if [ -x "`which invoke-rc.d 2>/dev/null`" ]; then
invoke-rc.d ps-watcher stop || exit $?
else
/etc/init.d/ps-watcher stop || exit $?
fi
fi
+
+#DEBHELPER#
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/ps-watcher.git
More information about the Pkg-perl-cvs-commits
mailing list