From 1b294aad6947b255775b534d8dfa49100b8c91e5 Mon Sep 17 00:00:00 2001 From: lrob Date: Fri, 19 Feb 2016 00:40:37 +0100 Subject: [PATCH] Removing mailx detection so it can add required packages check anyways --- functions/check_deps.sh | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/functions/check_deps.sh b/functions/check_deps.sh index 7c16f7192..37236aad0 100644 --- a/functions/check_deps.sh +++ b/functions/check_deps.sh @@ -44,12 +44,10 @@ if [ "${emailnotification}" == "on" ]; then array_deps_required+=( exim4 ) elif [ -d /etc/sendmail ]; then array_deps_required+=( sendmail ) - elif [ ! -f /usr/bin/mailx ]; then - if [ -n "$(command -v dpkg-query)" ]; then - array_deps_required+=( mailutils postfix ) - elif [ -n "$(command -v yum)" ]; then - array_deps_required+=( mailx postfix ) - fi + elif [ -n "$(command -v dpkg-query)" ]; then + array_deps_required+=( mailutils postfix ) + elif [ -n "$(command -v yum)" ]; then + array_deps_required+=( mailx postfix ) fi fi }