Skip to content

Commit 7a70f7a

Browse files
committed
adb_config_update only if enabled
1 parent 73a4a18 commit 7a70f7a

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ include $(TOPDIR)/rules.mk
55

66
PKG_NAME:=adblock-fast
77
PKG_VERSION:=1.2.0
8-
PKG_RELEASE:=20
8+
PKG_RELEASE:=22
99
PKG_MAINTAINER:=Stan Grishin <stangri@melmac.ca>
1010
PKG_LICENSE:=AGPL-3.0-or-later
1111

files/etc/init.d/adblock-fast

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1839,6 +1839,7 @@ adb_config_update() {
18391839
load_dl_command
18401840
label="${config_update_url##*//}"
18411841
label="${label%%/*}";
1842+
[ -n "$enabled" ] || return 0
18421843
[ -n "$config_update_enabled" ] || return 0
18431844

18441845
if [ "$param" != 'download' ]; then

0 commit comments

Comments
 (0)