* bugfix: remove IPKG_INSTROOT check
* bugfix: do not attempt to download config update if package is disabled
Signed-off-by: Stan Grishin <[email protected]>
PKG_NAME:=adblock-fast
PKG_VERSION:=1.2.0
-PKG_RELEASE:=20
+PKG_RELEASE:=22
PKG_LICENSE:=AGPL-3.0-or-later
USE_PROCD=1
LC_ALL=C
-[ -n "${IPKG_INSTROOT}" ] && return 0
-
if type extra_command 1>/dev/null 2>&1; then
extra_command 'allow' 'Allows domain in current block-list and config'
extra_command 'check' 'Checks if specified domain is found in current block-list'
load_dl_command
label="${config_update_url##*//}"
label="${label%%/*}";
+ [ -n "$enabled" ] || return 0
[ -n "$config_update_enabled" ] || return 0
if [ "$param" != 'download' ]; then