From 0c0b039d8456cbde4c55674651ed4462819120b4 Mon Sep 17 00:00:00 2001 From: Serghey Rodin Date: Sat, 24 Oct 2015 15:15:53 +0300 Subject: [PATCH] No apache2.2-common in old Ubuntu --- install/vst-install-ubuntu.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/install/vst-install-ubuntu.sh b/install/vst-install-ubuntu.sh index 19a30caff..0b01c94d7 100755 --- a/install/vst-install-ubuntu.sh +++ b/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