[feature] check LANG before hand
This commit is contained in:
parent
0c58a9eb0c
commit
bec12cb5c1
|
@ -9,6 +9,11 @@ if ! has_cmd python; then
|
|||
fi
|
||||
log 'Setting up ranger'
|
||||
|
||||
if [ "$LANG" != "en_US.UTF-8" ] ; then
|
||||
echo "please set LANG to en_US.UTF-8 for ranger to work properly"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# install ranger
|
||||
case "$PM" in
|
||||
apt)
|
||||
|
|
Loading…
Reference in New Issue
Block a user