Update blitz.notify.sh (#2016)

This commit is contained in:
frennkie 2021-03-23 13:00:38 +01:00 committed by rootzoll
parent 193e0f1816
commit f71779e229

View file

@ -81,6 +81,7 @@ if [ "$1" = "1" ] || [ "$1" = "on" ]; then
# install sstmp if not already present
if ! command -v ssmtp >/dev/null; then
[ -z "$(find -H /var/lib/apt/lists -maxdepth 0 -mtime -7)" ] && sudo apt-get update
sudo apt-get install -y ssmtp
fi