From 5242542e35d43c6fe91e556a7ca367457e77f526 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Antoine=20Beaupr=C3=A9?= Date: Tue, 2 Apr 2013 20:43:38 +0000 Subject: [PATCH] skip yet another step in slave mode --- install/alternc.install | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/install/alternc.install b/install/alternc.install index c9e4bf1c..564754ce 100644 --- a/install/alternc.install +++ b/install/alternc.install @@ -466,6 +466,11 @@ if [ -x /usr/sbin/locale-gen ] ; then fi fi +# remaining steps are only for the master +if [ "$slave" = "1" ]; then + exit 0 +fi + ####################################################################### # populate alternc database with the mailname used by postfix to send mail for each vhost # @@ -483,11 +488,6 @@ tar -zcf "$INSTALLED_CONFIG_TAR" -C / $CONFIG_FILES # Last touches # -# remaining steps are only for the master -if [ "$slave" = "1" ]; then - exit 0 -fi - find $ALTERNC_HTML -maxdepth 1 -type d -exec setfacl -b -k -m d:g:alterncpanel:rw- -m g:alterncpanel:rw- {} \; #creating log file