No apache2.2-common in old Ubuntu

This commit is contained in:
Serghey Rodin 2015-10-24 15:15:53 +03:00
commit 0c0b039d84

View file

@ -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