Fixed use of incorect var for OS detection

This commit is contained in:
2020-12-10 11:30:08 +01:00
parent 9e9211c475
commit 74d76cdf15
7 changed files with 7 additions and 7 deletions

View File

@@ -7,7 +7,7 @@ if [ -z "${domain}" ]; then
fi
fi
if [ "$shortdist" = "ubu1804" ] || [ "$osrel" = "ubu2004" ] || [ "$osrel" = "deb10" ] ; then
if [ "$shortdist" = "ubu1804" ] || [ "$shortdist" = "ubu2004" ] || [ "$shortdist" = "deb10" ] ; then
debconf-set-selections <<< "postfix postfix/mailname string $domain"
debconf-set-selections <<< "postfix postfix/main_mailer_type string 'Internet Site'"
fi