simple-adblock: use new extra_command function definition
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
This commit is contained in:
parent
6f00afc97b
commit
04e52a13c4
2 changed files with 6 additions and 7 deletions
|
@ -6,7 +6,7 @@ include $(TOPDIR)/rules.mk
|
||||||
|
|
||||||
PKG_NAME:=simple-adblock
|
PKG_NAME:=simple-adblock
|
||||||
PKG_VERSION:=1.8.4
|
PKG_VERSION:=1.8.4
|
||||||
PKG_RELEASE:=2
|
PKG_RELEASE:=3
|
||||||
PKG_MAINTAINER:=Stan Grishin <stangri@melmac.net>
|
PKG_MAINTAINER:=Stan Grishin <stangri@melmac.net>
|
||||||
PKG_LICENSE:=GPL-3.0-or-later
|
PKG_LICENSE:=GPL-3.0-or-later
|
||||||
|
|
||||||
|
|
|
@ -10,12 +10,11 @@ USE_PROCD=1
|
||||||
LC_ALL=C
|
LC_ALL=C
|
||||||
|
|
||||||
# shellcheck disable=SC2034
|
# shellcheck disable=SC2034
|
||||||
EXTRA_COMMANDS='check dl killcache sizes show version'
|
extra_command "check" "Checks if specified domain is found in current block-list"
|
||||||
# shellcheck disable=SC2034
|
extra_command "dl" "Force-downloads all enabled block-list"
|
||||||
EXTRA_HELP=' check Checks if specified domain is found in current block-list
|
extra_command "sizes" "Displays the file-sizes of enabled block-listo"
|
||||||
dl Force-downloads all enabled block-list
|
extra_command "show" "Shows the service last-run status"
|
||||||
sizes Displays the file-sizes of enabled block-lists
|
extra_command "version" "Show version"
|
||||||
show Shows the service last-run status'
|
|
||||||
|
|
||||||
readonly packageName='simple-adblock'
|
readonly packageName='simple-adblock'
|
||||||
readonly serviceName="$packageName $PKG_VERSION"
|
readonly serviceName="$packageName $PKG_VERSION"
|
||||||
|
|
Loading…
Reference in a new issue