diff --git a/net/adblock/Makefile b/net/adblock/Makefile index c8582bd3a..34337b7f0 100644 --- a/net/adblock/Makefile +++ b/net/adblock/Makefile @@ -7,7 +7,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=adblock -PKG_VERSION:=0.20.0 +PKG_VERSION:=0.20.1 PKG_RELEASE:=1 PKG_LICENSE:=GPL-3.0+ PKG_MAINTAINER:=Dirk Brenken diff --git a/net/adblock/files/adblock-update.sh b/net/adblock/files/adblock-update.sh index 1ca1acf61..49f669056 100755 --- a/net/adblock/files/adblock-update.sh +++ b/net/adblock/files/adblock-update.sh @@ -25,7 +25,7 @@ # set script version # -adb_version="0.20.0" +adb_version="0.20.1" # get current pid and script directory # @@ -164,7 +164,7 @@ do if [ $((rc)) -eq 0 ] && [ -n "${tmp_var}" ] then eval "$(printf "${src}" | sed 's/\(.*\&ruleset=\)/ruleset=\$/g')" - tmp_var="$(printf "%s\n" "${tmp_var}" | tr '[[:upper:]]' '[[:lower:]]')" + tmp_var="$(printf "%s\n" "${tmp_var}" | tr '[A-Z]' '[a-z]')" adb_count="$(printf "%s\n" "${tmp_var}" | eval "${ruleset}" | tee -a "${adb_tmpfile}" | wc -l)" /usr/bin/logger -t "adblock[${pid}]" "info: source download finished (${url}, ${adb_count} entries)" elif [ $((rc)) -eq 0 ] && [ -z "${tmp_var}" ]