[SCM] SETI at home packaging branch, master, updated. debian/6.12_svn1305-2-29-gc9f609d

Steffen Moeller steffen_moeller at gmx.de
Tue Aug 14 19:49:59 UTC 2012


The following commit has been merged in the master branch:
commit c9f609dfb21a7b15df6e8fcd515410aee097134d
Author: Steffen Moeller <steffen_moeller at gmx.de>
Date:   Tue Aug 14 21:48:50 2012 +0200

    Adjusting download of download script to git
    
    This was some archaic (and buggy) version from svn times, still.

diff --git a/debian/rules b/debian/rules
index d773545..a003c4c 100755
--- a/debian/rules
+++ b/debian/rules
@@ -128,16 +128,10 @@ get-orig-source:
 	  exit; \
 	fi; \
 	cd $(origDir); \
-	DLS=/tmp/download-seti; \
+	EXP=/tmp/download-seti; \
 	TODAY=`date +%Y-%m-%d | tr -d '\n'`; \
-	svn export svn://svn.debian.org/pkg-boinc/scripts/download-seti $$DLS; \
-	echo "Attempting to retrieve today's ($$TODAY) tarball."; \
-	$$DLS $$TODAY || ( \
-	  YESTERDAY=`date -d yesterday +%Y-%m-%d | tr -d '\n'`; \
-	  echo "Today's ($$TODAY) tarball could not be downloaded."; \
-	  echo "Now attempting to retrieve yesterday's ($$YESTERDAY) tarball."; \
-	  $$DLS $$YESTERDAY; \
-	); \
-	rm -f $$DLS
+	nice="nice -5"; if [ -x /usr/bin/ionice ]; then nice="$$nice ionice -c 3"; fi ; \
+	$$nice wget -O$$EXP "http://git.debian.org/?p=pkg-boinc/scripts.git;a=blob_plain;f=export-seti;hb=HEAD" --quiet && \
+	chmod +x $$EXP && $$EXP && rm -f $$EXP
 
 .PHONY: get-orig-source

-- 
SETI at home packaging



More information about the pkg-boinc-commits mailing list