summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorHannu Nyman <hannu.nyman@iki.fi>2024-04-20 12:19:26 +0300
committerHannu Nyman <hannu.nyman@iki.fi>2024-04-20 12:19:26 +0300
commitfb776a6645b7c1671e1b733f3de433a34971a49a (patch)
tree194529a95b6ac061e5ac0f225c1edbced3bd5dac
parent49a0a91c79430feab919b42c9060cf706c8f97af (diff)
luci.mk: remove unnecessary i18n postinst script
OpenWrt master has since 2016 run the uci-defaults also in run-time installations as postinst: openwrt/openwrt@9b9c78e Remove the older separate implementation from LuCI. Fixes #7070 and #7073 Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
-rw-r--r--luci.mk7
1 files changed, 0 insertions, 7 deletions
diff --git a/luci.mk b/luci.mk
index c26dfbbf2a..b5bd6fcd13 100644
--- a/luci.mk
+++ b/luci.mk
@@ -341,13 +341,6 @@ define LuciTranslation
$$(1)$(LUCI_LIBRARYDIR)/i18n/$(basename $(notdir $(po))).$(1).lmo;)
endef
- define Package/luci-i18n-$(LUCI_BASENAME)-$(1)/postinst
- [ -n "$$$${IPKG_INSTROOT}" ] || {
- (. /etc/uci-defaults/luci-i18n-$(LUCI_BASENAME)-$(1)) && rm -f /etc/uci-defaults/luci-i18n-$(LUCI_BASENAME)-$(1)
- exit 0
- }
- endef
-
LUCI_BUILD_PACKAGES += luci-i18n-$(LUCI_BASENAME)-$(1)
endef