wmshutdown: Destroy dialog window before shutting down. This is especially useful...
[dockapps.git] / wmArchUp / arch_update.sh
blobd3b0241f839fd4f27d3daf028e3dee18fff7b1e4
1 #!/bin/bash
3 statusfile=$(mktemp)
4 xterm -e sh -c 'sudo pacman -Syu; echo $? > '$statusfile
5 status=$(cat $statusfile)
6 rm $statusfile
7 exit $status