From 2cbaa6ce86bfeb3e0537d47ccdd3b3d3504ee303 Mon Sep 17 00:00:00 2001 From: Bram Prieshof Date: Wed, 2 Dec 2020 15:53:15 +0100 Subject: [PATCH] Fixed incorect Variable generic preconf --- CoreModules/generic/preconf.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CoreModules/generic/preconf.sh b/CoreModules/generic/preconf.sh index 861644e..0db20d1 100644 --- a/CoreModules/generic/preconf.sh +++ b/CoreModules/generic/preconf.sh @@ -1,5 +1,5 @@ echo "DEBUG Start preconf" -if [ "$osrel" = "ubu1804" ] || [ "$osrel" = "ubu2004" ] || [ "$osrel" = "deb10" ] ; then +if [ "$shortdist" = "ubu1804" ] || [ "$osrel" = "ubu2004" ] || [ "$osrel" = "deb10" ] ; then ######################## # Debian/Ubunbtu # ######################## @@ -32,7 +32,7 @@ if [ "$osrel" = "ubu1804" ] || [ "$osrel" = "ubu2004" ] || [ "$osrel" = "deb10" if dpkg-query -Wf'${db:Status-abbrev}' postfix 2>/dev/null | grep -q '^i'; then apt purge -y postfix > $OUTPUT 2>&1; fi -elif [ "$osrel" = "cent8" ]; then +elif [ "$shortdist" = "cent8" ]; then ################ # Centos # ################