Merge pull request #3400 from TDT-AG/pr/20191210-luci-mk

luci.mk: move indexcache delete into postinst
This commit is contained in:
Florian Eckert 2019-12-29 14:37:40 +01:00 committed by GitHub
commit 359379078e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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