From c47373f21da2a3c3a23605ba027dde27b0f8aaf1 Mon Sep 17 00:00:00 2001 From: VirtuBox Date: Tue, 5 Mar 2019 20:11:05 +0100 Subject: [PATCH] update wpsc template and fix multisite * update wpsc template the same way than fastcgi_cache * fix wp multisite stacks --- install | 2 ++ wo/cli/plugins/site_functions.py | 6 +++--- wo/cli/templates/fastcgi-cache.mustache | 17 +++++++++++++++++ wo/cli/templates/fastcgi.mustache | 4 +++- wo/cli/templates/wpsc-php7.mustache | 17 +---------------- wo/cli/templates/wpsc.mustache | 17 +---------------- 6 files changed, 27 insertions(+), 36 deletions(-) diff --git a/install b/install index b283cc3..c843fc6 100644 --- a/install +++ b/install @@ -131,8 +131,10 @@ wo_install_dep() apt-get -y install build-essential curl gzip dirmngr python3 python3-apt python3-setuptools python3-dev sqlite3 git tar software-properties-common pigz gnupg2 > /dev/null 2>&1 fi }; then echo -ne ' Installing dependencies [OK]\r' + echo -ne '\n' else echo -e " Installing dependencies [FAIL]" + echo -ne '\n' fi locale-gen en &>> /dev/null diff --git a/wo/cli/plugins/site_functions.py b/wo/cli/plugins/site_functions.py index d15b315..68ff719 100644 --- a/wo/cli/plugins/site_functions.py +++ b/wo/cli/plugins/site_functions.py @@ -335,8 +335,8 @@ def setupwordpress(self, data): + "core config " + "--dbname=\'{0}\' --dbprefix=\'{1}\' --dbhost=\'{2}\' " .format(data['wo_db_name'], wo_wp_prefix, data['wo_db_host']) - + "--dbuser=\'{0}\' --dbpass= " - "--extra-php<