void-packages/srcpkgs/netsurf/files/netsurf.sh

9 lines
173 B
Bash
Raw Normal View History

2014-02-04 22:31:43 +01:00
#!/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
exit $?