Skip to content

Commit d0fbe4a

Browse files
committed
feat: replace mailx with s-nail for email alerts
1 parent 6adf4da commit d0fbe4a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lgsm/modules/check_deps.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -114,13 +114,13 @@ fn_deps_email() {
114114
elif [ -d /etc/sendmail ]; then
115115
array_deps_required+=(sendmail)
116116
elif [ "$(command -v yum 2> /dev/null)" ] || [ "$(command -v dnf 2> /dev/null)" ]; then
117-
array_deps_required+=(mailx postfix)
117+
array_deps_required+=(s-nail postfix)
118118
elif [ "$(command -v apt 2> /dev/null)" ]; then
119119
array_deps_required+=(mailutils postfix)
120120
fi
121121
else
122122
if [ "$(command -v yum 2> /dev/null)" ] || [ "$(command -v dnf 2> /dev/null)" ]; then
123-
array_deps_required+=(mailx postfix)
123+
array_deps_required+=(s-nail postfix)
124124
elif [ "$(command -v apt 2> /dev/null)" ]; then
125125
array_deps_required+=(mailutils postfix)
126126
fi

0 commit comments

Comments
 (0)