summaryrefslogtreecommitdiff
path: root/libre/netsurf/netsurf.sh
blob: e4e53243471437e6a20ff5dfda2f056afd8793bd (plain)
1
2
3
4
5
6
7
#!/bin/sh
shortlang=`echo $LANG | cut -b1-2`
if [ ! -d "/usr/share/netsurf/$shortlang" ]; then
  # Use /usr/share/netsurf/en
  export LANG=en_US.UTF-8
fi
/usr/bin/netsurf-gtk3 "$@"