Fix updates echo to separate issues on individual lines
This commit is contained in:
parent
ae41df4a11
commit
ec6249f9d6
@ -7,7 +7,7 @@ then
|
|||||||
UPDATES=$(echo -e "$UPDATES" | grep -v "testing repos\!")
|
UPDATES=$(echo -e "$UPDATES" | grep -v "testing repos\!")
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo $UPDATES
|
echo -e "$UPDATES"
|
||||||
|
|
||||||
if [ ! -z "$UPDATES" ]; then
|
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"
|
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"
|
||||||
|
Loading…
Reference in New Issue
Block a user