Просмотр исходного кода

Add star for conflict uninstall to be sure to remove every package.

Raphael Schneeberger 6 лет назад
Родитель
Сommit
3e2ce6ca7b
2 измененных файлов с 2 добавлено и 2 удалено
  1. 1 1
      install/hst-install-debian.sh
  2. 1 1
      install/hst-install-ubuntu.sh

+ 1 - 1
install/hst-install-debian.sh

@@ -328,7 +328,7 @@ tmpfile=$(mktemp -p /tmp)
 dpkg --get-selections > $tmpfile
 for pkg in exim4 mariadb-server apache2 nginx hestia postfix; do
     if [ ! -z "$(grep $pkg $tmpfile)" ]; then
-        conflicts="$pkg $conflicts"
+        conflicts="$pkg* $conflicts"
     fi
 done
 rm -f $tmpfile

+ 1 - 1
install/hst-install-ubuntu.sh

@@ -306,7 +306,7 @@ tmpfile=$(mktemp -p /tmp)
 dpkg --get-selections > $tmpfile
 for pkg in exim4 mariadb-server apache2 nginx hestia postfix ufw; do
     if [ ! -z "$(grep $pkg $tmpfile)" ]; then
-        conflicts="$pkg $conflicts"
+        conflicts="$pkg* $conflicts"
     fi
 done
 rm -f $tmpfile