The URLs are dependent on RELEASE, RELEASE itself is not the problem...

master
Simon Quigley 6 years ago
parent 6b7ef1853b
commit 5ae8cd8995

@ -25,10 +25,6 @@
set -u set -u
export RELEASE=$1
echo $RELEASE
# Download files in parallel in background, only if there is an update # Download files in parallel in background, only if there is an update
refresh() { refresh() {
DIR=$BRITNEY_CACHE/$pocket/$(echo $1 | rev | cut --delimiter=/ --fields=2,3 | rev) DIR=$BRITNEY_CACHE/$pocket/$(echo $1 | rev | cut --delimiter=/ --fields=2,3 | rev)

@ -3,8 +3,13 @@
for RELEASE in $RELEASES; do for RELEASE in $RELEASES; do
echo "Release: $RELEASE"; 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 # 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 # Britney outputs the candidates for testing migration, read the additions
egrep -v '^(#|-)' britney_output/*/HeidiOutputDelta > candidates || echo "No candidates found."; egrep -v '^(#|-)' britney_output/*/HeidiOutputDelta > candidates || echo "No candidates found.";

Loading…
Cancel
Save