[feature] check LANG before hand

This commit is contained in:
Klesh Wong 2021-06-15 11:58:26 +08:00
parent 0c58a9eb0c
commit bec12cb5c1

View File

@ -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)