don't spawn two terminals in checkup
This commit is contained in:
parent
e84895760c
commit
e6b91568b1
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue