summaryrefslogtreecommitdiffhomepage
path: root/i18n/english
diff options
context:
space:
mode:
Diffstat (limited to 'i18n/english')
-rwxr-xr-xi18n/english/ipkg/postinst4
-rwxr-xr-xi18n/english/root/etc/uci-defaults/luci-i18n-english6
2 files changed, 10 insertions, 0 deletions
diff --git a/i18n/english/ipkg/postinst b/i18n/english/ipkg/postinst
new file mode 100755
index 0000000000..24cf8dd2d3
--- /dev/null
+++ b/i18n/english/ipkg/postinst
@@ -0,0 +1,4 @@
+#!/bin/sh
+[ -n "${IPKG_INSTROOT}" ] || {
+ ( . /etc/uci-defaults/luci-i18n-english ) && rm -f /etc/uci-defaults/luci-i18n-english
+}
diff --git a/i18n/english/root/etc/uci-defaults/luci-i18n-english b/i18n/english/root/etc/uci-defaults/luci-i18n-english
new file mode 100755
index 0000000000..506d6ef93f
--- /dev/null
+++ b/i18n/english/root/etc/uci-defaults/luci-i18n-english
@@ -0,0 +1,6 @@
+#!/bin/sh
+uci batch <<-EOF
+ set luci.languages.en=English
+ commit luci
+EOF
+