diff options
Diffstat (limited to 'i18n')
-rwxr-xr-x | i18n/norwegian/etc/uci-defaults/luci-i18n-norwegian | 5 | ||||
-rwxr-xr-x | i18n/norwegian/ipkg/postinst | 4 |
2 files changed, 9 insertions, 0 deletions
diff --git a/i18n/norwegian/etc/uci-defaults/luci-i18n-norwegian b/i18n/norwegian/etc/uci-defaults/luci-i18n-norwegian new file mode 100755 index 000000000..cb34c29b9 --- /dev/null +++ b/i18n/norwegian/etc/uci-defaults/luci-i18n-norwegian @@ -0,0 +1,5 @@ +#!/bin/sh +uci batch <<-EOF + set luci.languages.no=Norwegian + commit luci +EOF diff --git a/i18n/norwegian/ipkg/postinst b/i18n/norwegian/ipkg/postinst new file mode 100755 index 000000000..0b6c62d4f --- /dev/null +++ b/i18n/norwegian/ipkg/postinst @@ -0,0 +1,4 @@ +#!/bin/sh +[ -n "${IPKG_INSTROOT}" ] || { + ( . /etc/uci-defaults/luci-i18n-norwegian ) && rm -f /etc/uci-defaults/luci-i18n-norwegian +} |