fix debhelper scripts and revert other changes to -5

This commit is contained in:
Jan Wagner 2007-03-08 10:26:35 +00:00
parent 09f8c009bf
commit f54be892ca
4 changed files with 10 additions and 7 deletions

5
debian/postinst vendored
View file

@ -6,7 +6,8 @@ then
fi
if [ -x "/etc/init.d/ps-watcher" ]; then
if [ "$startup" = "1" ] && [ -f $CONFIG ]; then
update-rc.d ps-watcher defaults 40 >/dev/null
if [ "$startup" = "1" ] && [ -f "/etc/default/pswatcher" ]; then
if [ -x "`which invoke-rc.d 2>/dev/null`" ]; then
invoke-rc.d ps-watcher start || exit $?
else
@ -14,5 +15,3 @@ if [ -x "/etc/init.d/ps-watcher" ]; then
fi
fi
fi
#DEBHELPER#