Minor changes

This commit is contained in:
Félix Aime 2021-02-08 18:11:34 +01:00
parent 60480922ae
commit b0a45f6ef3
2 changed files with 2 additions and 2 deletions

View File

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

View File

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