fix for ubuntu 14.04

This commit is contained in:
Serghey Rodin 2018-08-03 18:34:13 +03:00
commit 1c315de8d7

View file

@ -33,9 +33,9 @@ software="apache2 apache2.2-common apache2-suexec-custom apache2-utils
# Fix for old releases
if [[ ${release:0:2} -lt 16 ]]; then
software=$(echo "$software" |sed -e "s/php /php5 /")
software=$(echo "$software" |sed -e "s/php-/php5-/")
software=$(echo "$software" |sed -e "s/mod-php/mod-php5/")
software=$(echo "$software" |sed -e "s/php /php5 /g")
software=$(echo "$software" |sed -e "s/vesta-php5 /vesta-php /g")
software=$(echo "$software" |sed -e "s/php-/php5-/g")
fi
# Defining help function