From 1c315de8d7924362ee6b96a9767d1f1536caa78d Mon Sep 17 00:00:00 2001 From: Serghey Rodin Date: Fri, 3 Aug 2018 18:34:13 +0300 Subject: [PATCH] fix for ubuntu 14.04 --- install/vst-install-ubuntu.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/install/vst-install-ubuntu.sh b/install/vst-install-ubuntu.sh index ef4b7079..a17517e3 100755 --- a/install/vst-install-ubuntu.sh +++ b/install/vst-install-ubuntu.sh @@ -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