1
0
Fork 0

don't spawn two terminals in checkup

This commit is contained in:
Luca Bilke 2024-02-23 14:17:40 +01:00
commit e6b91568b1

View file

@ -1,7 +1,7 @@
#!/bin/sh #!/bin/sh
askupgrade() { askupgrade() {
[ "$(notify-send -c updates --action=Yes=Yes --action=No=No " Repository Sync" "Updates available. Update now?")" = 'Yes' ] && $TERMINAL -e upgrades [ "$(notify-send -c updates --action=Yes=Yes --action=No=No " Repository Sync" "Updates available. Update now?")" = 'Yes' ] && upgrades
} }
\xbps-install -Sun 1>/tmp/xbps_updates 2>/tmp/xbps_errors \xbps-install -Sun 1>/tmp/xbps_updates 2>/tmp/xbps_errors