aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--debian/bitlbee-common.postinst2
1 files changed, 1 insertions, 1 deletions
diff --git a/debian/bitlbee-common.postinst b/debian/bitlbee-common.postinst
index de814011..e0e371d8 100644
--- a/debian/bitlbee-common.postinst
+++ b/debian/bitlbee-common.postinst
@@ -63,7 +63,7 @@ if [ -e /usr/share/bitlbee/help.upgrading ]; then
fi
fi
-if [ "$BITLBEE_UPGRADE_DONT_RESTART" != "1" -a -n "$2" ]; then
+if [ "$BITLBEE_UPGRADE_DONT_RESTART" != "1" -a -n "$2" -a -x "/etc/init.d/bitlbee" ]; then
invoke-rc.d bitlbee restart
fi