aboutsummaryrefslogtreecommitdiffstats
path: root/debian/bitlbee-common.postinst
diff options
context:
space:
mode:
authorMarius Halden <marius.h@lden.org>2016-09-24 19:14:30 +0200
committerMarius Halden <marius.h@lden.org>2016-09-24 19:14:30 +0200
commit99c15884fe482c099cd3a152497636df9d0b31f1 (patch)
tree50db71a741ea5b92efcc16faa3c2dac4233b635b /debian/bitlbee-common.postinst
parent942e1d8011536f60a4d2dccf89e4b0e7e25f0602 (diff)
parent524e931bb1a61dd7efa44faeb050e41bfc231610 (diff)
Merge branch 'master' into patched-master
Diffstat (limited to 'debian/bitlbee-common.postinst')
-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