diff --git a/conf.sh b/conf.sh index 56e3fde..d2bc5b1 100644 --- a/conf.sh +++ b/conf.sh @@ -2,8 +2,8 @@ mrepo=https://git.ictmaatwerk.com/VPS-scripts/MySQL mbranch=master -if [ -z ${password+x} ]; then echo 'Error $password is not set'; fi -if [ -z ${PHPMyadmin+x} ]; then echo 'Error $PHPMyadmin is not set, Setting default OFF' && PHPMyadmin=0;fi #check if Var is set +if [ -z ${password+x} ]; then echo 'Error $password is not set' > $OUTPUT 2>&1 ; fi +if [ -z ${PHPMyadmin+x} ]; then echo 'Error $PHPMyadmin is not set, Setting default OFF' > $OUTPUT 2>&1 && PHPMyadmin=0;fi #check if Var is set rm -rf /etc/mysql/ /etc/my.cnf.d/ /etc/my.cnf mkdir /etc/mysql/