summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2019-10-09 10:52:42 +0200
committerErich Eckner <git@eckner.net>2019-10-09 10:52:42 +0200
commit8a52a769c77e2bbcd436791b695c25e4d8598a77 (patch)
tree009f48ae3c2646ef7830345524d147de3f7b47fa
parent2a32458d4c6ebfa63c393ac62a6a63bb01fb57d8 (diff)
downloadsendmailadvanced-8a52a769c77e2bbcd436791b695c25e4d8598a77.tar.xz
sendmailadvanced.conf: footer_hook paccheck neu
-rwxr-xr-xsendmailadvanced.conf11
1 files changed, 11 insertions, 0 deletions
diff --git a/sendmailadvanced.conf b/sendmailadvanced.conf
index de6deb9..95caaeb 100755
--- a/sendmailadvanced.conf
+++ b/sendmailadvanced.conf
@@ -31,6 +31,17 @@ body_footer_hook()
echo
return 0
;;
+ 'paccheck')
+ if command -v paccheck >/dev/null; then
+ echo "----------------------- Pacman Check Begin -------------------------"
+ echo
+ paccheck --list-broken
+ echo
+ echo "------------------------ Pacman Check End --------------------------"
+ echo
+ return 0
+ fi
+ ;;
esac
fi
echo "Unknown footer-hook: '$1'"