diff options
author | Omar Vega Ramos <ovruni@gnu.org.pe> | 2019-08-26 22:43:46 -0500 |
---|---|---|
committer | Omar Vega Ramos <ovruni@gnu.org.pe> | 2019-08-26 22:43:46 -0500 |
commit | 82548f6e7cba2ea97bc82330dee690aff6bfecc8 (patch) | |
tree | dc57da9537ad774d990cdafc778c2814d84eca59 /libre/netsurf/netsurf.sh | |
parent | 34da01520f42061a2eb5ef5194d8d1f44da8140f (diff) | |
download | abslibre-82548f6e7cba2ea97bc82330dee690aff6bfecc8.tar.gz abslibre-82548f6e7cba2ea97bc82330dee690aff6bfecc8.tar.bz2 abslibre-82548f6e7cba2ea97bc82330dee690aff6bfecc8.zip |
netsurf-3.9-2.par1: updating version
Diffstat (limited to 'libre/netsurf/netsurf.sh')
-rw-r--r-- | libre/netsurf/netsurf.sh | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/libre/netsurf/netsurf.sh b/libre/netsurf/netsurf.sh index e4e532434..1a153a502 100644 --- a/libre/netsurf/netsurf.sh +++ b/libre/netsurf/netsurf.sh @@ -1,7 +1,4 @@ -#!/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 +#!/bin/bash +# Use English if a directory for the current language does not exist +test -d "/usr/share/netsurf/${LANG:0:2}" || export LANG=en_US.UTF-8 /usr/bin/netsurf-gtk3 "$@" |