typo
This commit is contained in:
parent
bb1c726836
commit
831330ef85
@ -76,7 +76,7 @@ for url in $urls; do
|
|||||||
curl -v -s ${COMPRESS_OPT} -k "$url" >"${unsorted_blocklist}" 2>"${headers}"
|
curl -v -s ${COMPRESS_OPT} -k "$url" >"${unsorted_blocklist}" 2>"${headers}"
|
||||||
|
|
||||||
# this is required for blocklist.de that sends compressed content if asked for it or not
|
# this is required for blocklist.de that sends compressed content if asked for it or not
|
||||||
if grep -qi 'content-encoding: gzip' ${headers }; then
|
if grep -qi 'content-encoding: gzip' "${headers}"; then
|
||||||
mv "${unsorted_blocklist}" "${unsorted_blocklist}.gz"
|
mv "${unsorted_blocklist}" "${unsorted_blocklist}.gz"
|
||||||
gzip -d "${unsorted_blocklist}"
|
gzip -d "${unsorted_blocklist}"
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user