Update update.sh script with user_lang
This commit is contained in:
parent
efe1e3f864
commit
0cbd3ff6b2
@ -49,7 +49,11 @@ elif [ $PWD = "/tmp/tinycheck" ]; then
|
|||||||
if ! grep -q reboot_option /usr/share/tinycheck/config.yaml; 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
|
sed -i 's/frontend:/frontend:\n reboot_option: true/g' /usr/share/tinycheck/config.yaml
|
||||||
fi
|
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
|
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
|
sed -i 's/frontend:/frontend:\n shutdown_option: true/g' /usr/share/tinycheck/config.yaml
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user