Author: moeller
Date: 2012-01-03 21:36:40 +0000 (Tue, 03 Jan 2012)
New Revision: 9154

Modified:
   trunk/community/infrastructure/getData/debian/changelog
   trunk/community/infrastructure/getData/getData
Log:
Updated path to and treatment of DE405 data after an URL change.



Modified: trunk/community/infrastructure/getData/debian/changelog
===================================================================
--- trunk/community/infrastructure/getData/debian/changelog     2012-01-03 
19:54:24 UTC (rev 9153)
+++ trunk/community/infrastructure/getData/debian/changelog     2012-01-03 
21:36:40 UTC (rev 9154)
@@ -1,3 +1,9 @@
+getdata (0.1-2) UNRELEASED; urgency=low
+
+  * Update of DE405 (URL changed)
+
+ -- Steffen Moeller <[email protected]>  Tue, 03 Jan 2012 22:14:25 +0100
+
 getdata (0.1-1) unstable; urgency=low
 
   [ Steffen Moeller ]

Modified: trunk/community/infrastructure/getData/getData
===================================================================
--- trunk/community/infrastructure/getData/getData      2012-01-03 19:54:24 UTC 
(rev 9153)
+++ trunk/community/infrastructure/getData/getData      2012-01-03 21:36:40 UTC 
(rev 9154)
@@ -315,11 +315,11 @@
 
        "tycho2" => {
                name => "Tycho2 Star Coordinates",
-               source => "wget --mirror 
ftp://cdsarc.u-strasbg.fr/pub/cats/I/259/tyc2.dat*";,
+               source => "wget --mirror 
ftp://cdsarc.u-strasbg.fr/pub/cats/I/259/ReadMe 
ftp://cdsarc.u-strasbg.fr/pub/cats/I/259/index.dat.gz 
ftp://cdsarc.u-strasbg.fr/pub/cats/I/259/tyc2.dat*";,
                "post-download" => "[ -r tyc2.dat -a -z \"`find .  -cnewer 
tyc2.dat "
                   . "-a ! -name .listing`\" ] "
                   . "&& echo \"No mirrored file newer than previously created 
index.\" "
-                  . "|| zcat cdsarc.u-strasbg.fr/pub/cats/I/259/tyc2.dat* > 
tycho2.dat"
+                  . "|| ( zcat cdsarc.u-strasbg.fr/pub/cats/I/259/tyc2.dat* > 
tycho2.dat && ln -sf tycho2.dat Tycho2.dat)"
        },
 
        "astorb" => {
@@ -332,7 +332,10 @@
 
        "DE405" => {
                name => "DE405",
-               source => "wget $sharedWgetOptions 
ftp://ssd.jpl.nasa.gov/pub/eph/export/unix/unxp2[01]*.405";,
+               # URL moved
+               #source => "wget $sharedWgetOptions 
ftp://ssd.jpl.nasa.gov/pub/eph/export/unix/unxp2[01]*.405";,
+               source => "wget $sharedWgetOptions 
ftp://ssd.jpl.nasa.gov/pub/eph/planets/ascii/de405/";,
+               "post-download" => "[ -r unxp2000.405 -a ascp1600.405 -nt 
unxp2000.405 ] || cat ascp*.405 > unxp2000.405",
                recommends => "jpl-eph-tools"
        },
 


_______________________________________________
debian-med-commit mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/debian-med-commit

Reply via email to