Emergency release. PHP error during first fresh install.
This commit is contained in:
Cristhian Martínez Ochoa 2018-01-05 08:51:17 -07:00
parent 9369b4e154
commit f50af4fc4f
2 changed files with 3 additions and 3 deletions

View file

@ -126,12 +126,12 @@ nginx_install() {
php_install() {
ver=$(conf_read php-ver)
if [[ -n $ver && ($ver == "7.2" || $ver == "7.1" || $ver == "7.0" || $ver == "5.6") ]]; then
if [[ -n $(conf_read php-ver) && ($(conf_read php-ver) == "7.2" || $(conf_read php-ver) == "7.1" || $(conf_read php-ver) == "7.0" || $(conf_read php-ver) == "5.6") ]]; then
echo "${gre} Custom PHP version '$(conf_read php-ver)' detected!${end}"
else
conf_write php-ver 7.1
fi
ver=$(conf_read php-ver)
# Fix ondrej issue - https://github.com/oerdnj/deb.sury.org/issues/56
sudo apt-get install -y language-pack-en-base

2
weby
View file

@ -2,7 +2,7 @@
# Webinoly script.
# This script is designed to install latest Webinoly.
webyversion="1.2.0"
webyversion="1.2.1"
# Check OS support