summaryrefslogtreecommitdiffhomepage
path: root/luci.mk
diff options
context:
space:
mode:
Diffstat (limited to 'luci.mk')
-rw-r--r--luci.mk3
1 files changed, 1 insertions, 2 deletions
diff --git a/luci.mk b/luci.mk
index 636cf316ec..fb49da0eee 100644
--- a/luci.mk
+++ b/luci.mk
@@ -206,8 +206,7 @@ endef
ifndef Package/$(PKG_NAME)/postinst
define Package/$(PKG_NAME)/postinst
-[ -n "$${IPKG_INSTROOT}" ] || {$(foreach script,$(LUCI_DEFAULTS),
- (. /etc/uci-defaults/$(script)) && rm -f /etc/uci-defaults/$(script))
+[ -n "$${IPKG_INSTROOT}" ] || { \
rm -f /tmp/luci-indexcache
rm -rf /tmp/luci-modulecache/
killall -HUP rpcd 2>/dev/null