Fix MariaDB version

This commit is contained in:
VirtuBox
2022-09-09 11:18:14 +02:00
parent c57ca89d7e
commit e9b29820d5

View File

@@ -1276,7 +1276,7 @@ def post_pref(self, apt_packages, packages, upgrade=False):
elif os.path.exists('/etc/mysql/conf.d/my.cnf'):
if ((WOAptGet.is_installed(
self,
'mariadb-server-{0}').format(WOVar.mariadb_ver)) and
'mariadb-server-{0}'.format(WOVar.mariadb_ver))) and
not (WOFileUtils.grepcheck(
self, '/etc/mysql/conf.d/my.cnf', 'socket'))):
try: