Merge pull request #3400 from TDT-AG/pr/20191210-luci-mk
luci.mk: move indexcache delete into postinst
This commit is contained in:
commit
359379078e
1 changed files with 1 additions and 0 deletions
1
luci.mk
1
luci.mk
|
@ -219,6 +219,7 @@ ifneq ($(LUCI_DEFAULTS),)
|
|||
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
|
||||
exit 0
|
||||
}
|
||||
endef
|
||||
|
|
Loading…
Reference in a new issue