From b9292a6f575e5bd440b2011006489c06a3dcb833 Mon Sep 17 00:00:00 2001 From: Florian Eckert Date: Fri, 14 Feb 2020 09:12:31 +0100 Subject: luci.mk: move /tmp/luci-modulecache remove to package postinst script Signed-off-by: Florian Eckert --- luci.mk | 2 ++ 1 file changed, 2 insertions(+) (limited to 'luci.mk') diff --git a/luci.mk b/luci.mk index fc02e84f7e..2745797c1f 100644 --- a/luci.mk +++ b/luci.mk @@ -226,6 +226,7 @@ define Package/$(PKG_NAME)/postinst [ -n "$${IPKG_INSTROOT}" ] || {$(foreach script,$(LUCI_DEFAULTS), (. /etc/uci-defaults/$(script)) && rm -f /etc/uci-defaults/$(script)) rm -f /tmp/luci-indexcache + rm -rf /tmp/luci-modulecache/ exit 0 } endef @@ -233,6 +234,7 @@ else define Package/$(PKG_NAME)/postinst [ -n "$${IPKG_INSTROOT}" ] || { rm -f /tmp/luci-indexcache + rm -rf /tmp/luci-modulecache/ exit 0 } endef -- cgit