luci.mk: move /tmp/luci-indexcache remove to package postinst script

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
This commit is contained in:
Florian Eckert
2020-02-13 15:11:16 +01:00
parent effb720741
commit 1f8a3c0417
41 changed files with 11 additions and 102 deletions

View File

@@ -229,6 +229,13 @@ define Package/$(PKG_NAME)/postinst
exit 0
}
endef
else
define Package/$(PKG_NAME)/postinst
[ -n "$${IPKG_INSTROOT}" ] || {
rm -f /tmp/luci-indexcache
exit 0
}
endef
endif