Checked for spelling errors and silenced output in Graphical Mode

This commit is contained in:
b.waal
2020-03-17 10:40:55 +01:00
parent 10b2c9aa76
commit 325d2db024

View File

@@ -28,8 +28,8 @@ sed -i 's/#/vm.vfs_cache_pressure=50/g' /etc/sysctl.conf
# Postfix #
##-------------##
#cheking if postfix already was installed by the system and if yes it wil be removed to prevent config conflicts
if dpkg-query -Wf'${db:Status-abbrev}' postfix 2>/dev/null | grep -q '^i'; then apt purge -y postfix; fi
#Checking if postfix exists on this system and if so it wil be removed to prevent config conflicts
if dpkg-query -Wf'${db:Status-abbrev}' postfix 2>/dev/null | grep -q '^i'; then apt purge -y postfix > $OUTPUT 2>&1; fi
debconf-set-selections <<< "postfix postfix/mailname string $domain"
debconf-set-selections <<< "postfix postfix/main_mailer_type string 'Internet Site'"