Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/openwrt/luci.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Eckert <fe@dev.tdt.de>2020-02-14 11:12:31 +0300
committerFlorian Eckert <fe@dev.tdt.de>2020-02-14 11:20:48 +0300
commitb9292a6f575e5bd440b2011006489c06a3dcb833 (patch)
tree8b3cda8ae6e645a9494b51f9240a4e194a2618b3 /luci.mk
parent1f8a3c04178e21f45f3908fd476ec3b3dad73c69 (diff)
luci.mk: move /tmp/luci-modulecache remove to package postinst script
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
Diffstat (limited to 'luci.mk')
-rw-r--r--luci.mk2
1 files changed, 2 insertions, 0 deletions
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