mirror of
https://github.com/openwrt/luci.git
synced 2025-12-21 23:34:34 +04:00
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 <jo@mein.io>
This commit is contained in:
2
luci.mk
2
luci.mk
@@ -212,7 +212,7 @@ endef
|
|||||||
ifndef Package/$(PKG_NAME)/postinst
|
ifndef Package/$(PKG_NAME)/postinst
|
||||||
define Package/$(PKG_NAME)/postinst
|
define Package/$(PKG_NAME)/postinst
|
||||||
[ -n "$${IPKG_INSTROOT}" ] || { \
|
[ -n "$${IPKG_INSTROOT}" ] || { \
|
||||||
rm -f /tmp/luci-indexcache
|
rm -f /tmp/luci-indexcache.*
|
||||||
rm -rf /tmp/luci-modulecache/
|
rm -rf /tmp/luci-modulecache/
|
||||||
killall -HUP rpcd 2>/dev/null
|
killall -HUP rpcd 2>/dev/null
|
||||||
exit 0
|
exit 0
|
||||||
|
|||||||
Reference in New Issue
Block a user