Skip to content

Commit 1c315de

Browse files
author
Serghey Rodin
committed
fix for ubuntu 14.04
1 parent 1096fcd commit 1c315de

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

install/vst-install-ubuntu.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,9 @@ software="apache2 apache2.2-common apache2-suexec-custom apache2-utils
3333

3434
# Fix for old releases
3535
if [[ ${release:0:2} -lt 16 ]]; then
36-
software=$(echo "$software" |sed -e "s/php /php5 /")
37-
software=$(echo "$software" |sed -e "s/php-/php5-/")
38-
software=$(echo "$software" |sed -e "s/mod-php/mod-php5/")
36+
software=$(echo "$software" |sed -e "s/php /php5 /g")
37+
software=$(echo "$software" |sed -e "s/vesta-php5 /vesta-php /g")
38+
software=$(echo "$software" |sed -e "s/php-/php5-/g")
3939
fi
4040

4141
# Defining help function

0 commit comments

Comments
 (0)