Update install-new-roundcube.sh

This commit is contained in:
myvesta 2022-04-02 10:12:05 +02:00 committed by GitHub
commit 8bbf4ef361
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -10,7 +10,6 @@ LOGINMESSAGE1='Click here for NEW Webmail'
LOGINMESSAGE2='(it is adapted for mobile phones too)'
DATABASE_NAME_WITHOUT_PREFIX="roundcube"
DATABASE_NAME="${USER}_roundcube"
#############################################################################################################################
@ -21,6 +20,8 @@ if [ $# -gt 1 ]; then
DOMAIN=$2
fi
DATABASE_NAME="${USER}_roundcube"
if [ -z "$USER" ] || [ -z "$DOMAIN" ]; then
echo "Usage:"
echo "bash install-new-roundcube.sh VESTAUSER YOURDOMAIN.com"