[med-svn] [conquest-dicom-server] 26/30: Prevent get-orig-source to download repeatedly.

Pablo Lorenzzoni spectra at moszumanska.debian.org
Mon Jan 27 19:49:03 UTC 2014


This is an automated email from the git hooks/post-receive script.

spectra pushed a commit to branch master
in repository conquest-dicom-server.

commit 539eaf1a219e69a0fde1b193572b9dec73130e2d
Author: Pablo Lorenzzoni <spectra at debian.org>
Date:   Sun Jan 26 09:25:34 2014 -0200

    Prevent get-orig-source to download repeatedly.
    
    Let's try not to abuse upstream download server (and gain a few minutes
    between tests).
---
 debian/get-orig-source | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/debian/get-orig-source b/debian/get-orig-source
index 30f1d02..f93ef01 100755
--- a/debian/get-orig-source
+++ b/debian/get-orig-source
@@ -11,10 +11,10 @@ UPSTREAM=conquestlinux1417c.tar.gz
 
 FOLDER=${PACKAGE}-${VERSION}
 
-wget -c ftp://ftp-rt.nki.nl/outbox/MarcelVanHerk/dicomserver/${UPSTREAM}
+wget -c -O /tmp/$UPSTREAM ftp://ftp-rt.nki.nl/outbox/MarcelVanHerk/dicomserver/${UPSTREAM}
 
 mkdir ${FOLDER}
-tar xvf ${UPSTREAM} -C ${FOLDER}
+tar xvf /tmp/${UPSTREAM} -C ${FOLDER}
 
 # cleanup
 # conv copy of libjasper (sigh)
@@ -62,4 +62,3 @@ rm ${FOLDER}/data/dbase/conquest.db3
 
 GZIP="--best --no-name" tar cvfz ${TARFILE} ${FOLDER} 
 rm -rf ${FOLDER}
-rm ${UPSTREAM}

-- 
Alioth's /git/debian-med/git-commit-notice on /srv/git.debian.org/git/debian-med/conquest-dicom-server.git



More information about the debian-med-commit mailing list