summaryrefslogtreecommitdiff
path: root/libre/netsurf-libre/netsurf.sh
blob: b74f388afc723d91fdb1798646d93fd9a0c1d4c5 (plain)
1
2
3
4
5
6
7
#!/bin/sh
shortname=`echo $LANG | cut -b1-2`
if [[ -d /usr/share/netsurf/$shortname ]]; then
	/usr/bin/netsurf.elf "$@"
else
	LANG=en /usr/bin/netsurf.elf "$@"
fi