void-packages/srcpkgs/netsurf/files/netsurf.sh
2020-05-25 02:05:23 +02:00

8 lines
175 B
Bash

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