diff options
author | 2012-07-01 22:46:11 +0200 | |
---|---|---|
committer | 2012-07-01 22:46:11 +0200 | |
commit | 12d5ca8ee7c8290a7f5ab35c3aa5bc685ec05359 (patch) | |
tree | a2358d297acfa55b6c2528283fe66b18f1c3e84d /scripts | |
parent | bamf: Version bump (diff) | |
download | angelos-12d5ca8ee7c8290a7f5ab35c3aa5bc685ec05359.tar.gz angelos-12d5ca8ee7c8290a7f5ab35c3aa5bc685ec05359.tar.bz2 angelos-12d5ca8ee7c8290a7f5ab35c3aa5bc685ec05359.zip |
Remove sync.sh, replaced by wired's update
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/sync.sh | 41 |
1 files changed, 0 insertions, 41 deletions
diff --git a/scripts/sync.sh b/scripts/sync.sh deleted file mode 100755 index 5f0d438..0000000 --- a/scripts/sync.sh +++ /dev/null @@ -1,41 +0,0 @@ -#!/bin/bash - -. /etc/init.d/functions.sh - -run() { - ebegin $1 - $2 - eend $? || exit -1 -} - -update_overlay() { - einfo "Updating $@" - pushd "$@" >/dev/null - if [ -d .git ]; then - git pull -q - elif [ -d .svn ]; then - svn up -q - elif [ -d CVS ]; then - cvs -Q up - else - ewarn "Don't know how to update this repo" - fi - popd >/dev/null -} - -pushd $(portageq portdir) >/dev/null -run "Running cvs up" "cvs -Q up" -popd >/dev/null -einfo "Updating overlays" -for x in $(portageq portdir_overlay); do - update_overlay "$x" -done -run "Regenerating cache" "egencache --update --jobs=4" -run "Cleaning distfiles" "eclean-dist -q" -run "Cleaning packages" "eclean-pkg -q" -run "Regenerating use.local.desc" "egencache --update-use-local-desc" -cp /var/cache/eix /tmp/eix-cache.old -run "Updating eix cache" "eix-update --quiet" -eix-diff /tmp/eix-cache.old -rm /tmp/eix-cache.old -einfo "Sync complete!" |