[med-svn] r2963 - trunk/packages/dicomscope/trunk/debian

malat-guest at alioth.debian.org malat-guest at alioth.debian.org
Mon Jan 12 10:11:58 UTC 2009


Author: malat-guest
Date: 2009-01-12 10:11:58 +0000 (Mon, 12 Jan 2009)
New Revision: 2963

Modified:
   trunk/packages/dicomscope/trunk/debian/get-orig-source
Log:
refactor get-orig-script to adapt

Modified: trunk/packages/dicomscope/trunk/debian/get-orig-source
===================================================================
--- trunk/packages/dicomscope/trunk/debian/get-orig-source	2009-01-12 10:06:48 UTC (rev 2962)
+++ trunk/packages/dicomscope/trunk/debian/get-orig-source	2009-01-12 10:11:58 UTC (rev 2963)
@@ -2,12 +2,12 @@
 set -e
 #set -x
 # ftp://dicom.offis.de/pub/dicom/offis/software/dscope/dscope351/dsgui351.zip
-URL=ftp://dicom.offis.de/pub/dicom/offis/software/dscope/dscope351/
+URL=ftp://dicom.offis.de/pub/dicom/offis/software/dscope/dscope360/
 UNAME=dsgui
-UVERSION=351
+UVERSION=360
 UPSTREAMDIR="$UNAME""$UVERSION"
 NAME=dicomscope
-VERSION=3.5.1
+VERSION=3.6.0
 UPSTREAMZIP="$UPSTREAMDIR".zip
 
 if ! which dos2unix ; then
@@ -26,8 +26,11 @@
 fi
 
 DISTDIR=${NAME}-${VERSION}
-unzip -q "$UPSTREAMZIP"
-mv "$UPSTREAMDIR" "$DISTDIR"
+# Previously dscope 3.5.1 zip would contains a toplevel directoy, since 3.6.0
+# everything is contained with no toplevel directory, unzip directlty
+# into target directory
+unzip -q "$UPSTREAMZIP" -d "$DISTDIR"
+#mv "$UPSTREAMDIR" "$DISTDIR"
 
 find "$DISTDIR" -name *.java -exec dos2unix {} \;
 find "$DISTDIR" -name *.html -exec dos2unix {} \;




More information about the debian-med-commit mailing list