mirror of
https://github.com/openwrt/packages.git
synced 2025-12-21 21:24:31 +04:00
simple-adblock: use new extra_command function definition
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
This commit is contained in:
@@ -6,7 +6,7 @@ include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=simple-adblock
|
||||
PKG_VERSION:=1.8.4
|
||||
PKG_RELEASE:=2
|
||||
PKG_RELEASE:=3
|
||||
PKG_MAINTAINER:=Stan Grishin <stangri@melmac.net>
|
||||
PKG_LICENSE:=GPL-3.0-or-later
|
||||
|
||||
|
||||
@@ -10,12 +10,11 @@ USE_PROCD=1
|
||||
LC_ALL=C
|
||||
|
||||
# shellcheck disable=SC2034
|
||||
EXTRA_COMMANDS='check dl killcache sizes show version'
|
||||
# shellcheck disable=SC2034
|
||||
EXTRA_HELP=' check Checks if specified domain is found in current block-list
|
||||
dl Force-downloads all enabled block-list
|
||||
sizes Displays the file-sizes of enabled block-lists
|
||||
show Shows the service last-run status'
|
||||
extra_command "check" "Checks if specified domain is found in current block-list"
|
||||
extra_command "dl" "Force-downloads all enabled block-list"
|
||||
extra_command "sizes" "Displays the file-sizes of enabled block-listo"
|
||||
extra_command "show" "Shows the service last-run status"
|
||||
extra_command "version" "Show version"
|
||||
|
||||
readonly packageName='simple-adblock'
|
||||
readonly serviceName="$packageName $PKG_VERSION"
|
||||
|
||||
Reference in New Issue
Block a user