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