diff --git a/fetch-indexes b/fetch-indexes index f1f6eb7..bfdc439 100755 --- a/fetch-indexes +++ b/fetch-indexes @@ -25,10 +25,6 @@ set -u -export RELEASE=$1 - -echo $RELEASE - # Download files in parallel in background, only if there is an update refresh() { DIR=$BRITNEY_CACHE/$pocket/$(echo $1 | rev | cut --delimiter=/ --fields=2,3 | rev) diff --git a/run-ppa-britney b/run-ppa-britney index d255323..84af7de 100755 --- a/run-ppa-britney +++ b/run-ppa-britney @@ -3,8 +3,13 @@ for RELEASE in $RELEASES; do echo "Release: $RELEASE"; + if [ $ARCHIVE_TYPE = "ppa" ]; then + export SOURCE_PPA_URL="http://ppa.launchpad.net/$LP_TEAM/$SOURCE_PPA/ubuntu/dists/$RELEASE/main"; + export DEST_PPA_URL="http://ppa.launchpad.net/$LP_TEAM/$DEST_PPA/ubuntu/dists/$RELEASE/main"; + fi + # This is the main script, fetching the archives and running Britney - ./fetch-indexes $RELEASE; + ./fetch-indexes; # Britney outputs the candidates for testing migration, read the additions egrep -v '^(#|-)' britney_output/*/HeidiOutputDelta > candidates || echo "No candidates found.";