adblock: update 1.0.2

* fix corner case during shallalist backup/restore

Signed-off-by: Dirk Brenken <openwrt@brenken.org>
(cherry picked from commit e32bbffc7b)
This commit is contained in:
Dirk Brenken 2016-04-04 00:45:59 +03:00 committed by Hannu Nyman
parent 3587540ea5
commit 289549a6e1
2 changed files with 5 additions and 2 deletions

View file

@ -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 <openwrt@brenken.org>

View file

@ -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