ソースを参照

fix for ubuntu 14.04

Serghey Rodin 7 年 前
コミット
1c315de8d7
1 ファイル変更3 行追加3 行削除
  1. 3 3
      install/vst-install-ubuntu.sh

+ 3 - 3
install/vst-install-ubuntu.sh

@@ -33,9 +33,9 @@ software="apache2 apache2.2-common apache2-suexec-custom apache2-utils
 
 
 # Fix for old releases
 # Fix for old releases
 if [[ ${release:0:2} -lt 16 ]]; then
 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
 fi
 
 
 # Defining help function
 # Defining help function