Added fix proposed in #2

now creating fallback conf, so mysql can update successfully
This commit is contained in:
Bram Prieshof
2021-05-06 12:06:06 +02:00
parent 485c21ad5a
commit 8c033bf7c8

View File

@@ -7,6 +7,7 @@ if [ -z ${PHPMyadmin+x} ]; then echo 'Error $PHPMyadmin is not set, Setting defa
rm -rf /etc/mysql/ /etc/my.cnf.d/ /etc/my.cnf
mkdir /etc/mysql/
touch /etc/mysql/my.cnf.fallback
curl --retry 7 --retry-delay 5 -s "$mrepo"/raw/branch/"$mbranch"/config/MySQL/mysqld-V8.cnf -o /etc/mysql/my.cnf
if [ "$shortdist" = "ubu1804" ] || [ "$shortdist" = "ubu2004" ] || [ "$shortdist" = "deb10" ] ; then
MYSQLSNAME=mysql