From 22c09a5f5202c3a7b5f97140e87b152d64af41e9 Mon Sep 17 00:00:00 2001 From: Anthony Perkins Date: Mon, 22 Feb 2021 12:40:05 +0000 Subject: [PATCH] Remove another dbus-needing command --- roles/home-cli/files/bashrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/home-cli/files/bashrc b/roles/home-cli/files/bashrc index ee35879..dbf28be 100644 --- a/roles/home-cli/files/bashrc +++ b/roles/home-cli/files/bashrc @@ -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