From 0cbd3ff6b2262630f16eed6e0d225d59d4f1137b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?F=C3=A9lix=20Aime?= Date: Tue, 9 Feb 2021 08:51:55 +0100 Subject: [PATCH] Update update.sh script with user_lang --- update.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/update.sh b/update.sh index 5ff2bb6..e1fc6a2 100644 --- a/update.sh +++ b/update.sh @@ -49,7 +49,11 @@ elif [ $PWD = "/tmp/tinycheck" ]; then if ! grep -q reboot_option /usr/share/tinycheck/config.yaml; then sed -i 's/frontend:/frontend:\n reboot_option: true/g' /usr/share/tinycheck/config.yaml fi - + + if ! grep -q user_lang /usr/share/tinycheck/config.yaml; then + sed -i 's/frontend:/frontend:\n user_lang: en/g' /usr/share/tinycheck/config.yaml + fi + if ! grep -q shutdown_option /usr/share/tinycheck/config.yaml; then sed -i 's/frontend:/frontend:\n shutdown_option: true/g' /usr/share/tinycheck/config.yaml fi