Update to MariaDB 10.6
This commit is contained in:
@@ -1279,7 +1279,8 @@ def post_pref(self, apt_packages, packages, upgrade=False):
|
||||
msg="Adding MySQL into Git")
|
||||
elif os.path.exists('/etc/mysql/conf.d/my.cnf'):
|
||||
if ((WOAptGet.is_installed(
|
||||
self, 'mariadb-server-10.5')) and
|
||||
self,
|
||||
'mariadb-server-{0}').format(WOVar.mariadb_ver)) and
|
||||
not (WOFileUtils.grepcheck(
|
||||
self, '/etc/mysql/conf.d/my.cnf', 'socket'))):
|
||||
try:
|
||||
|
||||
@@ -187,7 +187,7 @@ class WOVar():
|
||||
# APT repositories
|
||||
wo_mysql_repo = ("deb [arch=amd64,arm64,ppc64el] "
|
||||
"http://mariadb.mirrors.ovh.net/MariaDB/repo/"
|
||||
"10.5/{distro} {codename} main"
|
||||
"10.6/{distro} {codename} main"
|
||||
.format(distro=wo_distro,
|
||||
codename=wo_platform_codename))
|
||||
if wo_distro == 'ubuntu':
|
||||
|
||||
Reference in New Issue
Block a user