From 8c033bf7c83c27c95d9ec4da5b1ddfeb940c9e1f Mon Sep 17 00:00:00 2001 From: Bram Prieshof Date: Thu, 6 May 2021 12:06:06 +0200 Subject: [PATCH] Added fix proposed in #2 now creating fallback conf, so mysql can update successfully --- conf.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/conf.sh b/conf.sh index 1bfa02c..91fa3e8 100644 --- a/conf.sh +++ b/conf.sh @@ -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