summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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'"