[fix] Force hook execution when YunoHost is not configured

This commit is contained in:
kload 2015-10-31 14:26:11 +01:00
parent c7310e6b6e
commit 009fe2f637

8
debian/postinst vendored
View file

@ -6,10 +6,10 @@ do_configure() {
rm -rf /var/cache/moulinette/*
if [ ! -f /etc/yunohost/installed ]; then
bash /usr/share/yunohost/hooks/conf_regen/01-yunohost
bash /usr/share/yunohost/hooks/conf_regen/02-ssl
bash /usr/share/yunohost/hooks/conf_regen/06-slapd
bash /usr/share/yunohost/hooks/conf_regen/15-nginx
bash /usr/share/yunohost/hooks/conf_regen/01-yunohost True
bash /usr/share/yunohost/hooks/conf_regen/02-ssl True
bash /usr/share/yunohost/hooks/conf_regen/06-slapd True
bash /usr/share/yunohost/hooks/conf_regen/15-nginx True
else
yunohost service regenconf
fi