[ "$enabled" ] returns true whatever non-empty value enabled has,
including 0.
Signed-off-by: Luiz Angelo Daros de Luca <luizluca@gmail.com>
PKG_NAME:=mjpg-streamer
PKG_VERSION:=1.0.0
-PKG_RELEASE:=5
+PKG_RELEASE:=6
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=https://codeload.github.com/jacksonliam/mjpg-streamer/tar.gz/v$(PKG_VERSION)?
local enabled
config_get_bool enabled "$1" 'enabled' 0
- [ "$enabled" ] || return
+ [ "$enabled" -gt 0 ] || return
local input
config_get input "$s" 'input'