Fixed incorect Variable generic preconf
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
echo "DEBUG Start preconf"
|
echo "DEBUG Start preconf"
|
||||||
if [ "$osrel" = "ubu1804" ] || [ "$osrel" = "ubu2004" ] || [ "$osrel" = "deb10" ] ; then
|
if [ "$shortdist" = "ubu1804" ] || [ "$osrel" = "ubu2004" ] || [ "$osrel" = "deb10" ] ; then
|
||||||
########################
|
########################
|
||||||
# Debian/Ubunbtu #
|
# 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
|
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 #
|
# Centos #
|
||||||
################
|
################
|
||||||
|
|||||||
Reference in New Issue
Block a user