diff --git a/debian/changelog b/debian/changelog index 6a287ee..3812689 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,9 +1,13 @@ ubuntu-dev-tools (0.84) UNRELEASED; urgency=low + [ Michael Bienia ] * update-maintainer: Remove the check for LP credentials again as this script doesn't use the LP API. - -- Michael Bienia Sat, 21 Nov 2009 20:22:54 +0100 + [ Manny Vindiola ] + * grab-merge: Only download files listed multiple times in REPORT once + + -- Manny Vindiola Tue, 24 Nov 2009 17:03:08 -0500 ubuntu-dev-tools (0.83) lucid; urgency=low diff --git a/grab-merge b/grab-merge index 98d3da8..e6fbcd8 100755 --- a/grab-merge +++ b/grab-merge @@ -69,9 +69,11 @@ else } for NAME in $(sed -n -e "/^ /p" REPORT); do - echo "Getting $NAME..." - URL="https://merges.ubuntu.com/$HASH/$MERGE/$NAME" - wget -q "$URL" || { echo "Error downloading $URL"; exit 1; } + if [ ! -f "$NAME" ]; then + echo "Getting $NAME..." + URL="https://merges.ubuntu.com/$HASH/$MERGE/$NAME" + wget -q "$URL" || { echo "Error downloading $URL"; exit 1; } + fi done fi echo