Commit 27738c7e authored by Joost van Baal-Ilić's avatar Joost van Baal-Ilić

more get-publicfile bugfixes...

parent cb8b9515
...@@ -36,7 +36,7 @@ then ...@@ -36,7 +36,7 @@ then
echo "Found valid upstream .tar.gz in $TARDIR, no need to download" echo "Found valid upstream .tar.gz in $TARDIR, no need to download"
else else
echo "Downloading $TARURL..." echo "Downloading $TARURL..."
wget --output-document=$TARFILE --quiet $TARURL wget --output-document=$TARFILE --quiet $TARURL
if echo "$MD5SUM_TAR" | md5sum -c --status if echo "$MD5SUM_TAR" | md5sum -c --status
then then
TARDIR=`pwd` TARDIR=`pwd`
...@@ -54,8 +54,16 @@ else ...@@ -54,8 +54,16 @@ else
# http://mdcc.cx/pub/publicfile/ # http://mdcc.cx/pub/publicfile/
echo "Downloading http://mdcc.cx/pub/publicfile/$DSCFILE, $DIFFFILE and friends..." echo "Downloading http://mdcc.cx/pub/publicfile/$DSCFILE, $DIFFFILE and friends..."
dget http://mdcc.cx/pub/publicfile/$DSCFILE # cannot use dget since .orig.tar.gz is not mirrored
# wget --output-document=$DIFFFILE --quiet http://mdcc.cx/pub/publicfile/$DIFFFILE wget --output-document=$DSCFILE --quiet http://mdcc.cx/pub/publicfile/$DSCFILE
wget --output-document=$DIFFFILE --quiet http://mdcc.cx/pub/publicfile/$DIFFFILE
if dscverify $DSCFILE
then
echo "Verified $DSCFILE"
else
echo "Verification of $DSCFILE failed. Giving up."
exit 1
fi
if echo "$MD5SUM_DIFF" | md5sum -c --status if echo "$MD5SUM_DIFF" | md5sum -c --status
then then
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment