Set back for stack pref
This commit is contained in:
@@ -28,10 +28,7 @@ from wo.core.variables import WOVariables
|
|||||||
def pre_pref(self, apt_packages):
|
def pre_pref(self, apt_packages):
|
||||||
"""Pre settings to do before installation packages"""
|
"""Pre settings to do before installation packages"""
|
||||||
|
|
||||||
if (not(["mariadb-server"] in apt_packages) and
|
if set(WOVariables.wo_mysql).issubset(set(apt_packages)):
|
||||||
(not ["mariadb-client"] in apt_packages)):
|
|
||||||
pass
|
|
||||||
else:
|
|
||||||
# add mariadb repository excepted on raspbian and ubuntu 19.04
|
# add mariadb repository excepted on raspbian and ubuntu 19.04
|
||||||
if (not WOVariables.wo_distro == 'raspbian'):
|
if (not WOVariables.wo_distro == 'raspbian'):
|
||||||
Log.info(self, "Adding repository for MySQL, please wait...")
|
Log.info(self, "Adding repository for MySQL, please wait...")
|
||||||
|
|||||||
Reference in New Issue
Block a user