adblock-fast: bugfixes
authorStan Grishin <[email protected]>
Fri, 10 Oct 2025 23:27:06 +0000 (23:27 +0000)
committerStan Grishin <[email protected]>
Sat, 11 Oct 2025 00:41:35 +0000 (17:41 -0700)
* bugfix: remove IPKG_INSTROOT check
* bugfix: do not attempt to download config update if package is disabled

Signed-off-by: Stan Grishin <[email protected]>
net/adblock-fast/Makefile
net/adblock-fast/files/etc/init.d/adblock-fast

index 9935a1680a3cd3b50c9bfbf0065014dfe66bc473..73f95485835429bf03e1a345de3d3fad2bd1e0cc 100644 (file)
@@ -5,7 +5,7 @@ include $(TOPDIR)/rules.mk
 
 PKG_NAME:=adblock-fast
 PKG_VERSION:=1.2.0
-PKG_RELEASE:=20
+PKG_RELEASE:=22
 PKG_MAINTAINER:=Stan Grishin <[email protected]>
 PKG_LICENSE:=AGPL-3.0-or-later
 
index 4cca7b665cf73b0b0a4640672430d1e7a410c5df..40e69bc27b1a2549db37c93674ed251823e22cf4 100755 (executable)
@@ -8,8 +8,6 @@ START=20
 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'
@@ -1839,6 +1837,7 @@ adb_config_update() {
        load_dl_command
        label="${config_update_url##*//}"
        label="${label%%/*}";
+       [ -n "$enabled" ] || return 0
        [ -n "$config_update_enabled" ] || return 0
 
        if [ "$param" != 'download' ]; then