add 'force' argument to update_domains to allow admins to regen everything easil

This commit is contained in:
Antoine Beaupr�� 2014-11-21 17:20:25 +00:00
parent e68544637a
commit 0afe53f8a6
1 changed files with 1 additions and 1 deletions

View File

@ -114,7 +114,7 @@ do
mysql_query "delete from sub_domaines where domaine='$dom'; delete from domaines where domaine='$dom';"
done
if [ ! -z "$(cat "$RELOAD_WEB")" ] ; then
if [ ! -z "$(cat "$RELOAD_WEB")" ] || [ "$1" = "force" ]; then
# Just to encourage user to use THIS directory and not another one
test -d "$VHOST_MANUALCONF" || mkdir -p "$VHOST_MANUALCONF"