Merge branch 'master' of gitlab.com:ArisuOngaku/server-scripts
This commit is contained in:
commit
e2f417dc86
@ -4,6 +4,5 @@ UPDATES=$(checkupdates --download)
|
|||||||
|
|
||||||
if [ ! -z "$(echo -en UPDATES | grep \"linux\")" ]; then
|
if [ ! -z "$(echo -en UPDATES | grep \"linux\")" ]; then
|
||||||
echo "Updates available!"
|
echo "Updates available!"
|
||||||
UPDATES=$(checkupdates --download)
|
|
||||||
echo -e "Updates are available:\n\n$UPDATES" | $(dirname $0)/mail.sh "Updates are available on $(hostname)"
|
echo -e "Updates are available:\n\n$UPDATES" | $(dirname $0)/mail.sh "Updates are available on $(hostname)"
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user