'preconf.sh' updaten

This commit is contained in:
2019-12-20 13:43:19 +00:00
parent 64021957f4
commit 8b5613b428

View File

@@ -1,6 +1,6 @@
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 ${DEBIAN_FRONTEND+x} ]; then echo 'env not set' ; else CurDebFrond="$DEBIAN_FRONTEND"; fi #checking and saving DEBIAN_FRONTEND
export DEBIAN_FRONTEND=noninteractive export DEBIAN_FRONTEND=noninteractive
if [ -z ${password+x} ]; then echo 'Error $password is not set'; fi if [ -z ${password+x} ]; then echo 'Error $password is not set'; fi
@@ -22,6 +22,6 @@ wget -q -t7 https://dev.mysql.com/get/mysql-apt-config_0.8.13-1_all.deb -O /tmp/
dpkg -i /tmp/mysql-apt-conf.deb > $OUTPUT 2>&1 dpkg -i /tmp/mysql-apt-conf.deb > $OUTPUT 2>&1
export DEBIAN_FRONTEND=$CurDebFrond if [ -z ${CurDebFrond+x} ]; then unset DEBIAN_FRONTEND ; else export DEBIAN_FRONTEND=$CurDebFrond; fi #Restore DEBIAN_FRONTEND
unset mrepo unset mrepo
unset mbranch unset mbranch