Skip to content

Commit 3e2ce6c

Browse files
committed
Add star for conflict uninstall to be sure to remove every package.
1 parent 148818e commit 3e2ce6c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

install/hst-install-debian.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -328,7 +328,7 @@ tmpfile=$(mktemp -p /tmp)
328328
dpkg --get-selections > $tmpfile
329329
for pkg in exim4 mariadb-server apache2 nginx hestia postfix; do
330330
if [ ! -z "$(grep $pkg $tmpfile)" ]; then
331-
conflicts="$pkg $conflicts"
331+
conflicts="$pkg* $conflicts"
332332
fi
333333
done
334334
rm -f $tmpfile

install/hst-install-ubuntu.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -306,7 +306,7 @@ tmpfile=$(mktemp -p /tmp)
306306
dpkg --get-selections > $tmpfile
307307
for pkg in exim4 mariadb-server apache2 nginx hestia postfix ufw; do
308308
if [ ! -z "$(grep $pkg $tmpfile)" ]; then
309-
conflicts="$pkg $conflicts"
309+
conflicts="$pkg* $conflicts"
310310
fi
311311
done
312312
rm -f $tmpfile

0 commit comments

Comments
 (0)