Do not add mariadb repo on debian 12
This commit is contained in:
@@ -29,7 +29,8 @@ def pre_pref(self, apt_packages):
|
|||||||
|
|
||||||
if ("mariadb-server" in apt_packages or "mariadb-client" in apt_packages):
|
if ("mariadb-server" in apt_packages or "mariadb-client" in apt_packages):
|
||||||
# add mariadb repository excepted on raspbian and ubuntu 19.04
|
# add mariadb repository excepted on raspbian and ubuntu 19.04
|
||||||
if not WOVar.wo_distro == 'raspbian':
|
if not (WOVar.wo_distro == 'raspbian' or
|
||||||
|
WOVar.wo_platform_codename == 'bookworm'):
|
||||||
Log.info(self, "Adding repository for MySQL, please wait...")
|
Log.info(self, "Adding repository for MySQL, please wait...")
|
||||||
mysql_pref = (
|
mysql_pref = (
|
||||||
"Package: *\nPin: origin mariadb.mirrors.ovh.net"
|
"Package: *\nPin: origin mariadb.mirrors.ovh.net"
|
||||||
|
|||||||
Reference in New Issue
Block a user