From e32bbffc7bd2c4e108f7d5178e6c216f8ef01fc9 Mon Sep 17 00:00:00 2001 From: Dirk Brenken Date: Sat, 26 Mar 2016 12:12:31 +0100 Subject: [PATCH] adblock: update 1.0.2 * fix corner case during shallalist backup/restore Signed-off-by: Dirk Brenken --- net/adblock/Makefile | 2 +- net/adblock/files/adblock-update.sh | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/net/adblock/Makefile b/net/adblock/Makefile index cffa23d37..3fcbc9d84 100644 --- a/net/adblock/Makefile +++ b/net/adblock/Makefile @@ -7,7 +7,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=adblock -PKG_VERSION:=1.0.1 +PKG_VERSION:=1.0.2 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 56ea4a0fe..f516e414d 100755 --- a/net/adblock/files/adblock-update.sh +++ b/net/adblock/files/adblock-update.sh @@ -36,7 +36,7 @@ fi # get current directory, script- and openwrt version # adb_scriptdir="${0%/*}" -adb_scriptver="1.0.1" +adb_scriptver="1.0.2" openwrt_version="$(cat /etc/openwrt_version)" # source in adblock function library @@ -124,9 +124,12 @@ then f_log " source archive (pre-)processing finished" else rc=0 + adb_srclist="! -name ${adb_dnsprefix}.${src_name}" + adb_errsrclist="-name ${adb_dnsprefix}.${src_name}" fi else rc=0 + adb_srclist="! -name ${adb_dnsprefix}.${src_name}" adb_errsrclist="-name ${adb_dnsprefix}.${src_name}" f_log " source archive download failed" fi