Remove another dbus-needing command
This commit is contained in:
parent
58fe832ee8
commit
22c09a5f52
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue