diff options
author | Jan-Henrik Bruhn | 2021-12-25 19:15:34 +0100 |
---|---|---|
committer | Jan-Henrik Bruhn | 2021-12-25 19:15:34 +0100 |
commit | 12f8073399dcb8edf2cf6e304ba06a8b75b86e7b (patch) | |
tree | 8ba7bc5488c1489e4fa3727f8bb824612dd317d3 | |
parent | b3fb331ebe619336f2b41c8bcaa7adfb58dd82c2 (diff) | |
download | aur-12f8073399dcb8edf2cf6e304ba06a8b75b86e7b.tar.gz |
Log curl errors better
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 6 |
2 files changed, 4 insertions, 4 deletions
@@ -1,6 +1,6 @@ pkgbase = ltspice pkgdesc = SPICE simulator, schematic capture and waveform viewer. Installation based on Field Update Utility. - pkgver = 17.20211219.4 + pkgver = 17.20211222.2 pkgrel = 1 url = http://www.linear.com/designtools/software/ arch = x86_64 @@ -5,7 +5,7 @@ _ltspice_ver_roman="XVII" _ltspice_ver="17" pkgname=ltspice -pkgver=17.20211219.4 +pkgver=17.20211222.2 pkgrel=1 pkgdesc="SPICE simulator, schematic capture and waveform viewer. Installation based on Field Update Utility." arch=('x86_64') @@ -20,7 +20,7 @@ source=("$pkgname.sh" "$pkgname-help.sh") sha256sums=('7b73449a9b7de53b65d132a40fdee3c8706181a7b699c362e399e67c92bedc58' 'ff14cff95172bbf685bc39801910edd70ee9499dee450270529c043946cc591c') -_curl_opts="--silent --connect-timeout 60 --retry 3 --retry-delay 1" +_curl_opts="-s --connect-timeout 60 --retry 3 --retry-delay 1" _download_file() { file=$1 @@ -54,7 +54,7 @@ _download_file() { # download uncompressed file if compressed was not found if [ ! -s "$output" ]; then url="${_update_url}/${file}" - curl $_curl_opts $url > $output && curlcode=$? || curlcode=$? + curl $_curl_opts -S $url > $output && curlcode=$? || curlcode=$? fi if [ ! -s "$output" ] || [ $curlcode -ne 0 ]; then |