|
@@ -713,7 +713,8 @@ fi
|
|
|
# Excluding packages
|
|
# Excluding packages
|
|
|
software=$(echo "$software" | sed -e "s/apache2.2-common//")
|
|
software=$(echo "$software" | sed -e "s/apache2.2-common//")
|
|
|
if [ "$nginx" = 'no' ]; then
|
|
if [ "$nginx" = 'no' ]; then
|
|
|
- software=$(echo "$software" | sed -e "s/\bnginx\b/ /")
|
|
|
|
|
|
|
+ software=$(echo "$software" | sed -r -e 's/(\s|^)nginx(\s|$)/ /')
|
|
|
|
|
+
|
|
|
fi
|
|
fi
|
|
|
if [ "$apache" = 'no' ]; then
|
|
if [ "$apache" = 'no' ]; then
|
|
|
software=$(echo "$software" | sed -e "s/apache2 //")
|
|
software=$(echo "$software" | sed -e "s/apache2 //")
|