1
0
Fork 0

make upgrades run in background

This commit is contained in:
Luca Bilke 2024-02-21 14:44:15 +01:00
parent 3365031f13
commit e735cb264b
1 changed files with 1 additions and 7 deletions

View File

@ -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