Added fix proposed in #2
now creating fallback conf, so mysql can update successfully
This commit is contained in:
1
conf.sh
1
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
|
rm -rf /etc/mysql/ /etc/my.cnf.d/ /etc/my.cnf
|
||||||
mkdir /etc/mysql/
|
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
|
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
|
if [ "$shortdist" = "ubu1804" ] || [ "$shortdist" = "ubu2004" ] || [ "$shortdist" = "deb10" ] ; then
|
||||||
MYSQLSNAME=mysql
|
MYSQLSNAME=mysql
|
||||||
|
|||||||
Reference in New Issue
Block a user