index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | Aaron Griffin <aaron@archlinux.org> | 2006-12-21 01:53:40 +0000 |
---|---|---|
committer | Aaron Griffin <aaron@archlinux.org> | 2006-12-21 01:53:40 +0000 |
commit | 74e347f09bd62872de84b431dcf029090931d199 (patch) | |
tree | 966f7b6b2a35ccaecb61b2119f28a2bad2340a96 /scripts/abs | |
parent | b1fbcd3ab5cf16b668cfc72d90223f48a329605b (diff) |
-rw-r--r-- | scripts/abs | 33 |
diff --git a/scripts/abs b/scripts/abs index 36fe4c04..3d8dd728 100644 --- a/scripts/abs +++ b/scripts/abs @@ -1,5 +1,4 @@ #!/bin/bash -# vim: set ft=sh ts=2 sw=2 [ -f /etc/abs/abs.conf ] && source /etc/abs/abs.conf @@ -15,21 +14,21 @@ usage() { } update() { - cd $ABSROOT - for sup in "${SUPFILES[@]}"; do - if [ "$sup" != "testing" ]; then - if [ "$sup" = "${sup#!}" ]; then - cvsup -L 1 -r 0 -g -b $ABSROOT -c .sup /etc/abs/supfile.$sup - fi - elif [ "$sup" = "testing" ]; then - if [ ! -d /var/abs/testing ]; then - mkdir /var/abs/testing; - fi - cd $ABSROOT/testing - cvsup -L 1 -r 0 -g -b $ABSROOT/testing -c .sup /etc/abs/supfile.testing - cd $ABSROOT - fi - done + cd $ABSROOT + for sup in "${SUPFILES[@]}"; do + if [ "$sup" != "testing" ]; then + if [ "$sup" = "${sup#!}" ]; then + cvsup -L 1 -r 0 -g -b $ABSROOT -c .sup /etc/abs/supfile.$sup + fi + elif [ "$sup" = "testing" ]; then + if [ ! -d /var/abs/testing ]; then + mkdir /var/abs/testing; + fi + cd $ABSROOT/testing + cvsup -L 1 -r 0 -g -b $ABSROOT/testing -c .sup /etc/abs/supfile.testing + cd $ABSROOT + fi + done } @@ -93,4 +92,4 @@ fi update exit 0 -# vim: set ts=2 noet: +# vim: set ts=2 sw=2 noet: |