mirror of
https://github.com/openwrt/luci.git
synced 2025-12-21 21:24:35 +04:00
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>
(cherry picked from commit fb776a6645)
This commit is contained in:
7
luci.mk
7
luci.mk
@@ -341,13 +341,6 @@ define LuciTranslation
|
|||||||
$$(1)$(LUCI_LIBRARYDIR)/i18n/$(basename $(notdir $(po))).$(1).lmo;)
|
$$(1)$(LUCI_LIBRARYDIR)/i18n/$(basename $(notdir $(po))).$(1).lmo;)
|
||||||
endef
|
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)
|
LUCI_BUILD_PACKAGES += luci-i18n-$(LUCI_BASENAME)-$(1)
|
||||||
|
|
||||||
endef
|
endef
|
||||||
|
|||||||
Reference in New Issue
Block a user