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

This commit is contained in:
Weblate 2015-10-31 16:32:14 +01:00
commit ee6c419d6d
3 changed files with 16 additions and 1 deletions

4
debian/postinst vendored
View file

@ -12,6 +12,10 @@ do_configure() {
bash /usr/share/yunohost/hooks/conf_regen/15-nginx True
else
yunohost service regenconf
# restart yunohost-firewall if it's running
service yunohost-firewall status > /dev/null \
&& service yunohost-firewall restart
fi
}

11
debian/prerm vendored Normal file
View file

@ -0,0 +1,11 @@
#!/bin/bash
set -e
if [ -x "/etc/init.d/yunohost-firewall" ]; then
invoke-rc.d yunohost-firewall stop || exit $?
fi
#DEBHELPER#
exit 0

2
debian/rules vendored
View file

@ -9,4 +9,4 @@
override_dh_installinit:
dh_installinit --name=yunohost-api
dh_installinit --name=yunohost-firewall
dh_installinit --name=yunohost-firewall --no-start