void-packages/srcpkgs/netsurf/files/netsurf.sh
2016-11-22 09:35:43 +01:00

8 lines
173 B
Bash

#!/bin/sh
shortname=$(echo $LANG | cut -b1-2)
if [ -d /usr/share/netsurf/$shortname ]; then
/usr/bin/netsurf-gtk "$@"
else
LANG=en_US /usr/bin/netsurf-gtk "$@"
fi
exit $?