From cada24573df5be3ec29c12ca2a7a5120a2b6e430 Mon Sep 17 00:00:00 2001 From: Gregory Colpart Date: Sat, 28 Nov 2015 22:59:36 +0100 Subject: [PATCH] Change scripts path --- scripts/web-add.sh | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/scripts/web-add.sh b/scripts/web-add.sh index 177e395..bc9e2e6 100755 --- a/scripts/web-add.sh +++ b/scripts/web-add.sh @@ -18,11 +18,12 @@ set -e HOME="/root" CONTACT_MAIL="jdoe@example.org" WWWBOUNCE_MAIL="jdoe@example.org" -LOCAL_SCRIPT="/usr/share/scripts/web-add.local.sh" -PRE_LOCAL_SCRIPT="/usr/share/scripts/web-add.pre-local.sh" -TPL_VHOST="/usr/share/scripts/vhost" -TPL_AWSTATS="/usr/share/scripts/awstats.XXX.conf" -TPL_MAIL="/usr/share/scripts/web-mail.tpl" +SCRIPTS_PATH="/usr/share/scripts/evoadmin" +LOCAL_SCRIPT="$SCRIPTS_PATH/web-add.local.sh" +PRE_LOCAL_SCRIPT="$SCRIPTS_PATH/web-add.pre-local.sh" +TPL_VHOST="$SCRIPTS_PATH/vhost" +TPL_AWSTATS="$SCRIPTS_PATH/awstats.XXX.conf" +TPL_MAIL="$SCRIPTS_PATH/web-mail.tpl" VHOST_PATH="/etc/apache2/sites-enabled/" MAX_LOGIN_CHAR=16 HOME_DIR="/home"