adblock: update 1.0.2
* fix corner case during shallalist backup/restore Signed-off-by: Dirk Brenken <openwrt@brenken.org>
This commit is contained in:
parent
a066df55a5
commit
e32bbffc7b
2 changed files with 5 additions and 2 deletions
|
@ -7,7 +7,7 @@
|
||||||
include $(TOPDIR)/rules.mk
|
include $(TOPDIR)/rules.mk
|
||||||
|
|
||||||
PKG_NAME:=adblock
|
PKG_NAME:=adblock
|
||||||
PKG_VERSION:=1.0.1
|
PKG_VERSION:=1.0.2
|
||||||
PKG_RELEASE:=1
|
PKG_RELEASE:=1
|
||||||
PKG_LICENSE:=GPL-3.0+
|
PKG_LICENSE:=GPL-3.0+
|
||||||
PKG_MAINTAINER:=Dirk Brenken <openwrt@brenken.org>
|
PKG_MAINTAINER:=Dirk Brenken <openwrt@brenken.org>
|
||||||
|
|
|
@ -36,7 +36,7 @@ fi
|
||||||
# get current directory, script- and openwrt version
|
# get current directory, script- and openwrt version
|
||||||
#
|
#
|
||||||
adb_scriptdir="${0%/*}"
|
adb_scriptdir="${0%/*}"
|
||||||
adb_scriptver="1.0.1"
|
adb_scriptver="1.0.2"
|
||||||
openwrt_version="$(cat /etc/openwrt_version)"
|
openwrt_version="$(cat /etc/openwrt_version)"
|
||||||
|
|
||||||
# source in adblock function library
|
# source in adblock function library
|
||||||
|
@ -124,9 +124,12 @@ then
|
||||||
f_log " source archive (pre-)processing finished"
|
f_log " source archive (pre-)processing finished"
|
||||||
else
|
else
|
||||||
rc=0
|
rc=0
|
||||||
|
adb_srclist="! -name ${adb_dnsprefix}.${src_name}"
|
||||||
|
adb_errsrclist="-name ${adb_dnsprefix}.${src_name}"
|
||||||
fi
|
fi
|
||||||
else
|
else
|
||||||
rc=0
|
rc=0
|
||||||
|
adb_srclist="! -name ${adb_dnsprefix}.${src_name}"
|
||||||
adb_errsrclist="-name ${adb_dnsprefix}.${src_name}"
|
adb_errsrclist="-name ${adb_dnsprefix}.${src_name}"
|
||||||
f_log " source archive download failed"
|
f_log " source archive download failed"
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue