From: Stan Grishin Date: Sat, 23 Mar 2024 01:14:10 +0000 (+0000) Subject: luci-app-adblock-fast: prepare migration to APK X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=508102bf273d3d4faca131cd3c34349cfbfcae2f;p=project%2Fluci.git luci-app-adblock-fast: prepare migration to APK Signed-off-by: Stan Grishin (cherry picked from commit b6c9d5f9744e8e84829115692e7f02c165cc2a34) --- diff --git a/applications/luci-app-adblock-fast/Makefile b/applications/luci-app-adblock-fast/Makefile index 47cdeb1f88..cc7948130d 100644 --- a/applications/luci-app-adblock-fast/Makefile +++ b/applications/luci-app-adblock-fast/Makefile @@ -5,7 +5,7 @@ include $(TOPDIR)/rules.mk PKG_LICENSE:=GPL-3.0-or-later PKG_MAINTAINER:=Stan Grishin -PKG_VERSION:=1.1.1-5 +PKG_VERSION:=1.1.1-r7 LUCI_TITLE:=AdBlock-Fast Web UI LUCI_DESCRIPTION:=Provides Web UI for adblock-fast service. diff --git a/applications/luci-app-adblock-fast/root/usr/libexec/rpcd/luci.adblock-fast b/applications/luci-app-adblock-fast/root/usr/libexec/rpcd/luci.adblock-fast index 63c50c403d..8859c11d71 100755 --- a/applications/luci-app-adblock-fast/root/usr/libexec/rpcd/luci.adblock-fast +++ b/applications/luci-app-adblock-fast/root/usr/libexec/rpcd/luci.adblock-fast @@ -120,7 +120,7 @@ get_init_status() { else json_add_boolean 'running' '0' fi - json_add_string 'version' "$(get_version "$name")" + json_add_string 'version' "$PKG_VERSION" errors="$(ubus_get_data errors)" json_add_array 'errors' if [ -n "$errors" ]; then