make upgrades run in background
This commit is contained in:
parent
3365031f13
commit
e735cb264b
|
@ -1,11 +1,5 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
BOLD='\033[1m'
|
sudo xbps-install -Syu 1>/tmp/xbps_updates 2>/tmp/xbps_errors || notify-send -u critical "Error downloading updates." "$(cut -d " " -f 1,5 /tmp/xbps_errors)"
|
||||||
BLUE='\033[34m'
|
|
||||||
|
|
||||||
sudo xbps-install -Syu
|
|
||||||
pkill -RTMIN+8 "${STATUSBAR:-dwmblocks}"
|
pkill -RTMIN+8 "${STATUSBAR:-dwmblocks}"
|
||||||
|
|
||||||
printf "%b" "${BOLD}${BLUE}Upgrade complete.\nPress <Enter> to exit window.\n"
|
|
||||||
read -r _
|
|
||||||
exit
|
|
||||||
|
|
Loading…
Reference in New Issue