helgee / RemoteFiles.jl

Download files from the Internet and keep them up-to-date.
Other
49 stars 8 forks source link

Increasing robustness of __init__() #28

Open alexandrebouchard opened 1 year ago

alexandrebouchard commented 1 year ago

With arch linux, curl crashes during __init__()

ERROR: version `CURL_OPENSSL_4' not found (required by /usr/bin/curl) 

It would be good to robustify init() so that line https://github.com/helgee/RemoteFiles.jl/blob/0cd45171dd27298a82eaaf865647a3f886561893/src/RemoteFiles.jl#L32 is in a try catch block, so that if e.g. it was successful with wget it can still proceed.