Commit f409ae99 authored by Matthias Redies's avatar Matthias Redies

added mirror for libxc, since is aweful

parent ff4216a5
...@@ -2,7 +2,14 @@ libxc_version=4.2.1 ...@@ -2,7 +2,14 @@ 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 -LO "${libxc_version}/libxc-${libxc_version}.tar.gz" curl --connect-timeout 10 -LO "${libxc_version}/libxc-${libxc_version}.tar.gz"
# is always offline. Hence a backup:
if [ ! -f libxc-${libxc_version}.tar.gz ]; then
echo "No file found, try mirror"
curl --connect-timeout 10 -LO ""
tar xzf libxc-${libxc_version}.tar.gz tar xzf libxc-${libxc_version}.tar.gz
cd libxc-${libxc_version} cd libxc-${libxc_version}
#Compile&test (This will take a while) #Compile&test (This will take a while)
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