From 0afe53f8a6d3537586400c83a5151c66c6c08278 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Antoine=20Beaupr=EF=BF=BD=EF=BF=BD?= Date: Fri, 21 Nov 2014 17:20:25 +0000 Subject: [PATCH] add 'force' argument to update_domains to allow admins to regen everything easil --- src/update_domains.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/update_domains.sh b/src/update_domains.sh index 8d46a132..7961bc56 100755 --- a/src/update_domains.sh +++ b/src/update_domains.sh @@ -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"