summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xscripts/sync.sh41
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!"