diff options
author | Jo-Philipp Wich <jow@openwrt.org> | 2010-10-14 00:44:59 +0000 |
---|---|---|
committer | Jo-Philipp Wich <jow@openwrt.org> | 2010-10-14 00:44:59 +0000 |
commit | 4f8f03bc4f59f558430a7a4347de20464fe1668d (patch) | |
tree | 2c4130b3687f8f8d1e8e619427a0342298f1067a /i18n | |
parent | 15c019a4c89d7a1ed8e1ffa16d33651a8c02a0f7 (diff) |
i18n: add norwegian package
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 +} |