Minor changes

This commit is contained in:
VirtuBox
2024-06-14 16:22:02 +02:00
parent 4a8641c6b3
commit e868a7ca53
3 changed files with 0 additions and 5 deletions

View File

@@ -811,9 +811,6 @@ wo_init() {
###
if [ -z "$wo_travis" ]; then
if [ -f /etc/apt/preferences.d/MariaDB.pref ]; then
sed -i 's/sfo1.mirrors.digitalocean.com/mariadb.mirrors.ovh.net/' /etc/apt/preferences.d/MariaDB.pref >/dev/null 2>&1
fi
if ! {
apt-get update --allow-releaseinfo-change -qq >/dev/null 2>&1
}; then

View File

@@ -130,7 +130,6 @@ class WOStackController(CementBaseController):
if pargs.all:
pargs.web = True
pargs.admin = True
pargs.php73 = True
pargs.php74 = True
pargs.php80 = True
pargs.php81 = True

View File

@@ -169,7 +169,6 @@ class WOMysql():
elif os.path.exists('/usr/bin/mysqladmin'):
mariadb_admin = "/usr/bin/mysqladmin"
else:
Log.info(self, "MariaDB server isn't installed")
return False
if WOShellExec.cmd_exec(self, f"{mariadb_admin} ping"):
return True