Skip to content

Commit d594404

Browse files
committed
[Installer] Fixed sed pattern which resulted in unexpected matches for 'nginx' (Debian)
(cherry picked from commit 85158e4)
1 parent 70eb793 commit d594404

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

install/hst-install-debian.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -762,7 +762,7 @@ fi
762762
# Excluding packages
763763
software=$(echo "$software" | sed -e "s/apache2.2-common//")
764764
if [ "$nginx" = 'no' ]; then
765-
software=$(echo "$software" | sed -e "s/\bnginx\b/ /")
765+
software=$(echo "$software" | sed -r -e 's/(\s|^)nginx(\s|$)/ /')
766766
fi
767767
if [ "$apache" = 'no' ]; then
768768
software=$(echo "$software" | sed -e "s/apache2 //")

0 commit comments

Comments
 (0)