From 325d2db0247dc8d79266e92939425976cbcfe096 Mon Sep 17 00:00:00 2001 From: "b.waal" Date: Tue, 17 Mar 2020 10:40:55 +0100 Subject: [PATCH] Checked for spelling errors and silenced output in Graphical Mode --- 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 98360cc..4d64870 100644 --- a/CoreModules/generic/preconf.sh +++ b/CoreModules/generic/preconf.sh @@ -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'" \ No newline at end of file