Created
May 23, 2012 00:58
-
-
Save randynobx/2772624 to your computer and use it in GitHub Desktop.
AUR Update script for Arch Linux using Cower
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## AUR Update | |
3 if [ "$(cower -u)" != "" ]; then | |
4 cd ~/.builds | |
5 cower -du | |
6 for f in $HOME/.builds/*/PKGBUILD; do cd $(dirname $f); makepkg -i; done | |
7 rm -r ~/.builds/* | |
8 echo 'AUR Update Complete.' | |
9 else | |
10 echo 'No package updates are available.' | |
11 fi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment