summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2018-06-18 10:07:53 +0200
committerErich Eckner <git@eckner.net>2018-06-18 10:07:53 +0200
commitbf487e34bd26a2a2ade2bce9c4520b4bfac880f3 (patch)
treef0f122489553b4760f30232b0a3023eb52fd8732
parent89c4c31ce81a0ac7ee3923d4ec8d80c3c7f35220 (diff)
downloadbuff-di-wuff-bf487e34bd26a2a2ade2bce9c4520b4bfac880f3.tar.xz
buff-di-wuff: do not check certificates
-rwxr-xr-xbuff-di-wuff4
1 files changed, 2 insertions, 2 deletions
diff --git a/buff-di-wuff b/buff-di-wuff
index 4f4b5de..981e639 100755
--- a/buff-di-wuff
+++ b/buff-di-wuff
@@ -26,7 +26,7 @@ grep '^[^#]' "$(dirname "$0")/downloads.list" | \
s|*|.*|g
'
)
- wget -O - "${urlDir}" 2> /dev/null | \
+ wget --no-check-certificate -O - "${urlDir}" 2> /dev/null | \
tr '"<>' '\n' | \
grep "^${urlFile}\$" | \
sort -u | \
@@ -36,7 +36,7 @@ grep '^[^#]' "$(dirname "$0")/downloads.list" | \
fi
done | \
while read -r url; do
- if ! wget -O "${cache_dir}/tmp" "${url}" 2> /dev/null; then
+ if ! wget --no-check-certificate -O "${cache_dir}/tmp" "${url}" 2> /dev/null; then
continue
fi
sha512=$(