luci.mk: don't run uci-defaults scripts ourself
Do not run the uci-defaults scripts of a package in the package-postinst, but leave this for the default_postinst() of the OpenWrt base-files package. Signed-off-by: Sven Roederer <devel-sven@geroedel.de>
This commit is contained in:
parent
1bfeec6994
commit
70631277db
1 changed files with 1 additions and 2 deletions
3
luci.mk
3
luci.mk
|
@ -206,8 +206,7 @@ endef
|
||||||
|
|
||||||
ifndef Package/$(PKG_NAME)/postinst
|
ifndef Package/$(PKG_NAME)/postinst
|
||||||
define Package/$(PKG_NAME)/postinst
|
define Package/$(PKG_NAME)/postinst
|
||||||
[ -n "$${IPKG_INSTROOT}" ] || {$(foreach script,$(LUCI_DEFAULTS),
|
[ -n "$${IPKG_INSTROOT}" ] || { \
|
||||||
(. /etc/uci-defaults/$(script)) && rm -f /etc/uci-defaults/$(script))
|
|
||||||
rm -f /tmp/luci-indexcache
|
rm -f /tmp/luci-indexcache
|
||||||
rm -rf /tmp/luci-modulecache/
|
rm -rf /tmp/luci-modulecache/
|
||||||
killall -HUP rpcd 2>/dev/null
|
killall -HUP rpcd 2>/dev/null
|
||||||
|
|
Loading…
Reference in a new issue