mirror of
https://github.com/YunoHost-Apps/horde_ynh.git
synced 2024-09-03 19:16:08 +02:00
Fix locales issue
This commit is contained in:
parent
d660f50ead
commit
908acb1e79
1 changed files with 3 additions and 1 deletions
|
@ -76,7 +76,9 @@ fi
|
|||
if [[ "$language" != "en" ]]
|
||||
then
|
||||
locale_lang=$(egrep -i "(${language})_\1\.UTF-8" /etc/locale.gen | egrep -o "[a-z]{2}_[A-Z]{2}\.UTF-8")
|
||||
ynh_replace_string "^#\s$locale_lang" "$locale_lang" /etc/locale.gen
|
||||
for l in $locale_lang; do
|
||||
ynh_replace_string "^#\s$l" "$l" /etc/locale.gen
|
||||
done
|
||||
locale-gen
|
||||
fi
|
||||
|
||||
|
|
Loading…
Reference in a new issue