Merge branch 'master' of gitlab.com:ArisuOngaku/server-scripts

This commit is contained in:
Alice Gaudon 2020-02-05 01:19:27 +01:00
commit e2f417dc86

View File

@ -4,6 +4,5 @@ UPDATES=$(checkupdates --download)
if [ ! -z "$(echo -en UPDATES | grep \"linux\")" ]; then
echo "Updates available!"
UPDATES=$(checkupdates --download)
echo -e "Updates are available:\n\n$UPDATES" | $(dirname $0)/mail.sh "Updates are available on $(hostname)"
fi