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
parent e84895760c
commit e6b91568b1
1 changed files with 1 additions and 1 deletions

View File

@ -1,7 +1,7 @@
#!/bin/sh
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