Only act on sources.

master
Simon Quigley 6 years ago
parent a2e93a13d5
commit 74e9399ee1

@ -17,6 +17,8 @@ for RELEASE in $RELEASES; do
egrep -v '^#' britney_output/$BRITNEY_TIMESTAMP/HeidiOutputDelta > candidates || echo "No candidates found.";
while read -r -a package; do
# This only acts on sources; binaries require manual cleanup
if [ ${#package[@]} = 2 ];
if [ $ARCHIVE_TYPE = "ppa" ]; then
COPY="./ubuntu-archive-tools/copy-package"
REMOVE="./ubuntu-archive-tools/remove-package"
@ -28,6 +30,7 @@ for RELEASE in $RELEASES; do
$REMOVE -y -s $RELEASE --archive "ppa:$LP_TEAM/ubuntu/$SOURCE_PPA" --version "${package[1]}" --removal-comment="moved to release" "${package[0]}";
fi
fi
fi
done < candidates;
rm -rf britney_output/;
done

Loading…
Cancel
Save