Minor changes
This commit is contained in:
parent
60480922ae
commit
b0a45f6ef3
@ -48,7 +48,7 @@ frontend:
|
|||||||
remote_access: true
|
remote_access: true
|
||||||
sparklines: true
|
sparklines: true
|
||||||
virtual_keyboard: true
|
virtual_keyboard: true
|
||||||
user_lang: en
|
user_lang: userlang
|
||||||
|
|
||||||
# NETWORK -
|
# NETWORK -
|
||||||
# Some elements related to the network configuration, such as
|
# Some elements related to the network configuration, such as
|
||||||
|
@ -49,7 +49,7 @@ set_userlang() {
|
|||||||
read lang
|
read lang
|
||||||
|
|
||||||
if [[ " ${LOCALES[@]} " =~ " ${lang} " ]]; then
|
if [[ " ${LOCALES[@]} " =~ " ${lang} " ]]; then
|
||||||
sed -i "s/userlang/${$lang}/g" /usr/share/tinycheck/config.yaml
|
sed -i "s/userlang/${lang}/g" /usr/share/tinycheck/config.yaml
|
||||||
echo -e "\e[92m [✔] User language setted!\e[39m"
|
echo -e "\e[92m [✔] User language setted!\e[39m"
|
||||||
else
|
else
|
||||||
echo -e "\e[91m [✘] You must choose between the languages proposed, let's retry.\e[39m"
|
echo -e "\e[91m [✘] You must choose between the languages proposed, let's retry.\e[39m"
|
||||||
|
Loading…
Reference in New Issue
Block a user