From 60148aec024c91840fb4baf3aaaaf6dacda64b97 Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Fri, 9 Sep 2022 23:34:32 +0200 Subject: [PATCH] luci.mk: adjust path of purged index cache files The index cache files have been split into separate, dynamically named Lua and JSON files a while ago, so adjust the remove command in the postinstall script accordingly. Signed-off-by: Jo-Philipp Wich (cherry picked from commit 2e93fa669bb55f954a9e31a1e3801c267d94ab2f) --- luci.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/luci.mk b/luci.mk index 2071050eb9..c9b7d930b6 100644 --- a/luci.mk +++ b/luci.mk @@ -213,7 +213,7 @@ endef ifndef Package/$(PKG_NAME)/postinst define Package/$(PKG_NAME)/postinst [ -n "$${IPKG_INSTROOT}" ] || { \ - rm -f /tmp/luci-indexcache + rm -f /tmp/luci-indexcache.* rm -rf /tmp/luci-modulecache/ killall -HUP rpcd 2>/dev/null exit 0 -- 2.30.2