dockapps/wmArchUp/arch_update.sh

8 lines
145 B
Bash
Raw Normal View History

2018-04-02 11:34:00 +00:00
#!/bin/bash
statusfile=$(mktemp)
xterm -e sh -c 'sudo pacman -Syu; echo $? > '$statusfile
status=$(cat $statusfile)
rm $statusfile
exit $status