remove --experimental

This commit is contained in:
VirtuBox
2019-03-07 12:36:32 +01:00
parent 5eacbf858b
commit 42092d7885
2 changed files with 8 additions and 9 deletions

View File

@@ -27,7 +27,7 @@ TPUT_FAIL=$(tput setaf 1)
wo_lib_echo () {
TPUT_ECHO=$(tput setaf 4)
echo "${TPUT_ECHO}${*}${TPUT_RESET}"
echo "${*}${TPUT_RESET}"
}
wo_lib_echo_info()
@@ -123,17 +123,17 @@ fi
####
wo_install_dep()
{
echo -ne ' Installing dependencies [..]\r'
echo -ne "${TPUT_ECHO}Installing dependencies ${TPUT_RESET}[..]\r"
if {
if [ "$wo_linux_distro" == "Ubuntu" ]; then
apt-get -y install build-essential curl gzip python3 python3-apt python3-setuptools python3-dev sqlite3 git tar software-properties-common pigz gnupg2 > /dev/null 2>&1
else
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'
}; then echo -ne "${TPUT_ECHO}Installing dependencies ${TPUT_RESET}[OK]\r"
echo -ne '\n'
else
echo -e " Installing dependencies [FAIL]"
echo -e "${TPUT_FAIL}Installing dependencies ${TPUT_RESET}[FAIL]"
echo -ne '\n'
fi
locale-gen en &>> /dev/null
@@ -695,7 +695,6 @@ else
fi
else
# 3 - Fresh WO setup
wo_lib_echo "Installing depedencies" | tee -ai $wo_install_log
wo_install_dep | tee -ai $wo_install_log
wo_lib_echo "Installing WordOps $wo_branch" | tee -ai $wo_install_log
wo_install | tee -ai $wo_install_log

View File

@@ -1180,7 +1180,7 @@ class WOSiteUpdateController(CementBaseController):
if pargs.hhvm == "on" or pargs.letsencrypt == "on" or pargs.php73 == "on":
if pargs.php73 == "on":
if (not pargs.experimental):
if pargs.experimental:
Log.info(
self, "Do you wish to enable PHP 7.3 now for {0}?".format(wo_domain))
@@ -1197,7 +1197,7 @@ class WOSiteUpdateController(CementBaseController):
php73 = True
if pargs.hhvm == "on":
if (not pargs.experimental):
if pargs.experimental:
Log.info(self, "HHVM is experimental feature and it may not"
" work with all plugins of your site.\nYou can "
"disable it by passing --hhvm=off later.\nDo you wish"
@@ -1218,7 +1218,7 @@ class WOSiteUpdateController(CementBaseController):
if pargs.letsencrypt == "on":
if (not pargs.experimental):
if pargs.experimental:
if oldsitetype in ['wpsubdomain']:
Log.warn(
@@ -1241,7 +1241,7 @@ class WOSiteUpdateController(CementBaseController):
letsencrypt = True
if pargs.wpredis and data['currcachetype'] != 'wpredis':
if (not pargs.experimental):
if pargs.experimental:
Log.info(self, "Redis is experimental feature and it may not"
" work with all plugins of your site.\nYou can "
"disable it by changing cache type later.\nDo you wish"