From c59950b2af23752d7da9286777f4c6ecb919ce85 Mon Sep 17 00:00:00 2001 From: Omar Vega Ramos Date: Sun, 17 Dec 2017 20:42:57 -0500 Subject: netsurf-3.7-2.parabola1: updating version --- libre/netsurf/netsurf.sh | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'libre/netsurf/netsurf.sh') diff --git a/libre/netsurf/netsurf.sh b/libre/netsurf/netsurf.sh index da2254763..e4e532434 100644 --- a/libre/netsurf/netsurf.sh +++ b/libre/netsurf/netsurf.sh @@ -1,7 +1,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 "$@" +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 "$@" -- cgit v1.2.3