Minor changes
This commit is contained in:
3
install
3
install
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user