Commit 11327296 authored by Matthias Redies's avatar Matthias Redies

tddtf.org still offline. This detect this better

parent c005cfb4
...@@ -2,7 +2,7 @@ libxc_version=4.2.1 ...@@ -2,7 +2,7 @@ libxc_version=4.2.1
if [ ! -d libxc-${libxc_version} ] if [ ! -d libxc-${libxc_version} ]
then then
#Get the file with the code #Get the file with the code
curl --connect-timeout 10 -LO "http://www.tddft.org/programs/octopus/download/libxc/${libxc_version}/libxc-${libxc_version}.tar.gz" curl --speed-time 15 --speed-limit 1000 -LO "http://www.tddft.org/programs/octopus/download/libxc/${libxc_version}/libxc-${libxc_version}.tar.gz"
# tddft.org is always offline. Hence a backup: # tddft.org is always offline. Hence a backup:
if [ ! -f libxc-${libxc_version}.tar.gz ]; then if [ ! -f libxc-${libxc_version}.tar.gz ]; then
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment