summaryrefslogtreecommitdiffhomepage
path: root/i18n/norwegian
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2010-10-14 00:44:59 +0000
committerJo-Philipp Wich <jow@openwrt.org>2010-10-14 00:44:59 +0000
commit4f8f03bc4f59f558430a7a4347de20464fe1668d (patch)
tree2c4130b3687f8f8d1e8e619427a0342298f1067a /i18n/norwegian
parent15c019a4c89d7a1ed8e1ffa16d33651a8c02a0f7 (diff)
i18n: add norwegian package
Diffstat (limited to 'i18n/norwegian')
-rwxr-xr-xi18n/norwegian/etc/uci-defaults/luci-i18n-norwegian5
-rwxr-xr-xi18n/norwegian/ipkg/postinst4
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
+}