summaryrefslogtreecommitdiff
path: root/libre/netsurf/netsurf.sh
blob: da22547631b1ddeea4e070311396811a04237303 (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-gtk3 "$@"
else
  LANG=en /usr/bin/netsurf-gtk3 "$@"
fi