diff options
Diffstat (limited to 'gen-data/tasks')
-rw-r--r-- | gen-data/tasks/locale-cz/run.sh | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/gen-data/tasks/locale-cz/run.sh b/gen-data/tasks/locale-cz/run.sh new file mode 100644 index 0000000..12f0a48 --- /dev/null +++ b/gen-data/tasks/locale-cz/run.sh @@ -0,0 +1,18 @@ +export task_name="cz-locale" + +hook_start() +{ + export CHECK_LOCALE=0 + ___old_locale="$(cat /etc/locale.conf)" + echo "LANG=cs_CZ.UTF-8" > /etc/locale.conf +} + +hook_end() +{ + echo "$___old_locale" > /etc/locale.conf +} + +run() +{ + create_pagila +} |