Remove another dbus-needing command

This commit is contained in:
Anthony Rose 2021-02-22 12:40:05 +00:00
parent 58fe832ee8
commit 22c09a5f52

View file

@ -53,7 +53,7 @@ _acp_set_locale () {
locale -a
;;
*)
if [ $(localectl list-locales | grep "${_acp_entered_locale}" | wc -l) -eq 0 ]
if [ $(locale -a | grep "${_acp_entered_locale}" | wc -l) -eq 0 ]
then
echo "Invalid locale entered."
continue