Fix updates echo to separate issues on individual lines

This commit is contained in:
Alice Gaudon 2019-11-01 04:13:43 +01:00
parent ae41df4a11
commit ec6249f9d6
1 changed files with 1 additions and 1 deletions

View File

@ -7,7 +7,7 @@ then
UPDATES=$(echo -e "$UPDATES" | grep -v "testing repos\!")
fi
echo $UPDATES
echo -e "$UPDATES"
if [ ! -z "$UPDATES" ]; then
sudo -u arisu DISPLAY=:0 DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus notify-send -u critical -t 86400000 -i update-high "Security updates are available" "$UPDATES" --app-name="Security Updates Check"