[med-svn] r15431 - trunk/packages/plastimatch/trunk/debian

Andreas Tille tille at moszumanska.debian.org
Thu Dec 5 13:55:56 UTC 2013


Author: tille
Date: 2013-12-05 13:55:56 +0000 (Thu, 05 Dec 2013)
New Revision: 15431

Modified:
   trunk/packages/plastimatch/trunk/debian/get-orig-source
Log:
Use new uscan if available to repack source


Modified: trunk/packages/plastimatch/trunk/debian/get-orig-source
===================================================================
--- trunk/packages/plastimatch/trunk/debian/get-orig-source	2013-12-05 13:49:04 UTC (rev 15430)
+++ trunk/packages/plastimatch/trunk/debian/get-orig-source	2013-12-05 13:55:56 UTC (rev 15431)
@@ -1,5 +1,15 @@
-#!/bin/sh
+#!/bin/sh -e
 
+# Remark: A new uscan that enables easier handling of removing files can be
+#         obtained via
+#   git clone git://tille@git.debian.org/git/users/tille/devscripts.git
+#         and then copy scripts/uscan.pl as uscan at the beginning of your PATH
+if uscan --help | grep -q -- --repack-compression ; then
+    echo "Use new enhanced uscan"
+    uscan --verbose --force-download --repack-compression bz2
+    exit
+fi
+
 # This lets us use a different (local) tarball during debugging.
 # Just put file name on the command line.
 if test -z "$1"; then




More information about the debian-med-commit mailing list