Fixed incorect Variable generic preconf

This commit is contained in:
2020-12-02 15:53:15 +01:00
parent f51b50debb
commit 2cbaa6ce86

View File

@@ -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 #
################