'conf.sh' updaten

This commit is contained in:
2019-12-20 12:47:53 +00:00
parent 316c90a4f3
commit 56b4e9cdc5

View File

@@ -1,6 +1,8 @@
###Fetch Config
mrepo=https://git.bprieshof.nl/Work/Test-MySQL
mbranch=master
CurDebFrond="$DEBIAN_FRONTEND"
if [ -z ${PHPMyadmin+x} ]; then echo 'Error $PHPMyadmin is not set,, Setting default ' && PHPMyadmin=0;fi #check if Var is set
if [ -z ${phpmyadminver+x} ]; then echo 'Error $phpmyadminver is not set, Setting default' && phpmyadminver="4.9.2" ; fi #check if Var is set
@@ -39,6 +41,6 @@ if curl --output /dev/null --silent --head --fail "$mrepo"/raw/branch/"$mbranch"
source <(curl -s "$mrepo"/raw/branch/"$mbranch"/"$webserv"-conf.sh)
fi
export DEBIAN_FRONTEND=$CurDebFrond
unset mrepo
unset mbranch