Merge remote-tracking branch 'origin/unstable' into unstable

This commit is contained in:
Weblate 2015-11-15 15:50:58 +01:00
commit c6660dd9e1

9
debian/postinst vendored
View file

@ -48,13 +48,10 @@ case "$1" in
;; ;;
esac esac
if [ -x /etc/init.d/yunohost-api ]; then # Enable and start yunohost-api service for non-systemd system
if [ -x /etc/init.d/yunohost-api ] && [ ! -d /run/systemd/system ]; then
update-rc.d yunohost-api defaults >/dev/null update-rc.d yunohost-api defaults >/dev/null
if [ -d /run/systemd/system ]; then invoke-rc.d yunohost-api start || exit $?
systemctl --system daemon-reload >/dev/null || true
else
invoke-rc.d yunohost-api start || exit $?
fi
fi fi
#DEBHELPER# #DEBHELPER#