'conf.sh' updaten
This commit is contained in:
4
conf.sh
4
conf.sh
@@ -1,6 +1,8 @@
|
|||||||
###Fetch Config
|
###Fetch Config
|
||||||
mrepo=https://git.bprieshof.nl/Work/Test-MySQL
|
mrepo=https://git.bprieshof.nl/Work/Test-MySQL
|
||||||
mbranch=master
|
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 ${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
|
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)
|
source <(curl -s "$mrepo"/raw/branch/"$mbranch"/"$webserv"-conf.sh)
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
export DEBIAN_FRONTEND=$CurDebFrond
|
||||||
unset mrepo
|
unset mrepo
|
||||||
unset mbranch
|
unset mbranch
|
||||||
Reference in New Issue
Block a user