Sfoglia il codice sorgente

No apache2.2-common in old Ubuntu

Serghey Rodin 10 anni fa
parent
commit
0c0b039d84
1 ha cambiato i file con 4 aggiunte e 0 eliminazioni
  1. 4 0
      install/vst-install-ubuntu.sh

+ 4 - 0
install/vst-install-ubuntu.sh

@@ -489,6 +489,10 @@ rm -rf /usr/local/vesta > /dev/null 2>&1
 #----------------------------------------------------------#
 
 # Excluding packages
+if [ "$release" != "15.04" ] && [ "$release" != "15.04" ]; then
+    software=$(echo "$software" | sed -e "s/apache2.2-common//")
+fi
+
 if [ "$nginx" = 'no'  ]; then
     software=$(echo "$software" | sed -e "s/^nginx//")
 fi