diff --git a/blacklist.sh b/blacklist.sh index 5e0447b..ff013ac 100755 --- a/blacklist.sh +++ b/blacklist.sh @@ -76,7 +76,7 @@ for url in $urls; do 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 - if grep -qi 'content-encoding: gzip' ${headers }; then + if grep -qi 'content-encoding: gzip' "${headers}"; then mv "${unsorted_blocklist}" "${unsorted_blocklist}.gz" gzip -d "${unsorted_blocklist}" fi