Update 'preconf.sh'

This commit is contained in:
Bram Prieshof
2020-04-30 11:15:53 +02:00
parent b7f36373bd
commit 42b28dec2d

View File

@@ -5,7 +5,6 @@ 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
debconf-set-selections <<< "mysql-community-server mysql-community-server/root-pass password $password" debconf-set-selections <<< "mysql-community-server mysql-community-server/root-pass password $password"
debconf-set-selections <<< "mysql-community-server mysql-community-server/re-root-pass password $password" debconf-set-selections <<< "mysql-community-server mysql-community-server/re-root-pass password $password"
debconf-set-selections <<< "mysql-community-server mysql-server/default-auth-override select Use Legacy Authentication Method (Retain MySQL 5.x Compatibility)" debconf-set-selections <<< "mysql-community-server mysql-server/default-auth-override select Use Legacy Authentication Method (Retain MySQL 5.x Compatibility)"
@@ -19,4 +18,4 @@ $PKGM update
if [ -z ${CurDebFrond+x} ]; then unset DEBIAN_FRONTEND ; else export DEBIAN_FRONTEND=$CurDebFrond; fi #Restore DEBIAN_FRONTEND 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