Skip to content

Commit

Permalink
HotFix
Browse files Browse the repository at this point in the history
Emergency release. PHP error during first fresh install.
  • Loading branch information
QROkes committed Jan 5, 2018
1 parent 9369b4e commit f50af4f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions lib/install
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion weby
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit f50af4f

Please sign in to comment.