Update 'preconf.sh'
This commit is contained in:
@@ -12,7 +12,7 @@ debconf-set-selections <<< "mysql-community-server mysql-server/default-auth-ove
|
|||||||
Dist=$(grep -oP '(?<=^ID=).+' /etc/os-release | tr -d '"')
|
Dist=$(grep -oP '(?<=^ID=).+' /etc/os-release | tr -d '"')
|
||||||
DistVersion=$(grep -oP '(?<=^VERSION_CODENAME=).+' /etc/os-release | tr -d '"')
|
DistVersion=$(grep -oP '(?<=^VERSION_CODENAME=).+' /etc/os-release | tr -d '"')
|
||||||
|
|
||||||
wget -qO - http://repo.mysql.com/RPM-GPG-KEY-mysql | apt-key add -
|
wget -qO - http://mirror.nxdi.nl/resources/mysql/RPM-GPG-KEY-mysql | apt-key add -
|
||||||
echo "deb http://mirror.nxdi.nl/apt/mysql/"$Dist"/ "$DistVersion" mysql-8.0" >/etc/apt/sources.list.d/mysql.list
|
echo "deb http://mirror.nxdi.nl/apt/mysql/"$Dist"/ "$DistVersion" mysql-8.0" >/etc/apt/sources.list.d/mysql.list
|
||||||
|
|
||||||
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
|
||||||
|
|||||||
Reference in New Issue
Block a user