don't spawn two terminals in checkup
This commit is contained in:
parent
e84895760c
commit
e6b91568b1
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue