summaryrefslogtreecommitdiff
path: root/libre/netsurf-libre/netsurf.sh
diff options
context:
space:
mode:
Diffstat (limited to 'libre/netsurf-libre/netsurf.sh')
-rw-r--r--libre/netsurf-libre/netsurf.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/libre/netsurf-libre/netsurf.sh b/libre/netsurf-libre/netsurf.sh
new file mode 100644
index 000000000..49b1e161e
--- /dev/null
+++ b/libre/netsurf-libre/netsurf.sh
@@ -0,0 +1,7 @@
+#!/bin/sh
+shortname=`echo $LANG | cut -b1-2`
+if [[ -d /usr/share/netsurf/$shortname ]]; then
+ /usr/bin/netsurf.elf "$@"
+else
+ LANG=en_US /usr/bin/netsurf.elf "$@"
+fi