Browse Source

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

luci.mk: move indexcache delete into postinst
Florian Eckert 4 years ago
parent
commit
359379078e
1 changed files with 1 additions and 0 deletions
  1. 1 0
      luci.mk

+ 1 - 0
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