fix smart_write
This commit is contained in:
+1
-1
@@ -240,7 +240,7 @@ function fix_locales {
|
|||||||
if [[ ${found_locales[$locale]} == 'false' ]]; then
|
if [[ ${found_locales[$locale]} == 'false' ]]; then
|
||||||
local language="${locale:0:5}"
|
local language="${locale:0:5}"
|
||||||
echo "Locale: $locale missing"
|
echo "Locale: $locale missing"
|
||||||
sudo /opt/miaou-bash/tools/smart_write /etc/locale.gen "(^# )?${language}\.UTF-8 UTF-8" "${language}.UTF-8 UTF-8"
|
. /opt/miaou-bash/tools/smart_write /etc/locale.gen "(^# )?${language}\.UTF-8 UTF-8" "${language}.UTF-8 UTF-8"
|
||||||
should_regenerate=true
|
should_regenerate=true
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
|||||||
Reference in New Issue
Block a user