Updated hr locales

This commit is contained in:
Ivan Jurišić 2024-02-22 09:45:15 +01:00
parent 362af58f02
commit 605c34e393

View File

@ -33,12 +33,13 @@ check_root
echo -ne "\nSet Croatian Time,Numeric,Collate and Monetary Locales ? "
if choice 2>/dev/null; then
sed -i -e 's/# hr_HR.UTF-8 UTF-8/hr_HR.UTF-8 UTF-8/g' /etc/locale.gen
sed -i -e 's/XKBLAYOUT=.*/XKBLAYOUT="hr"/g' /etc/default/keyboard
locale-gen
update-locale LC_TIME=\"hr_HR.UTF-8\"
update-locale LC_NUMERIC=\"hr_HR.UTF-8\"
update-locale LC_COLLATE=\"hr_HR.UTF-8\"
update-locale LC_MONETARY=\"hr_HR.UTF-8\"
echo -ne "\nPlease reboot system\n"
update-initramfs -u
setupcon -k -f
fi