Updated hr locales
This commit is contained in:
parent
362af58f02
commit
605c34e393
5
debian/settings/set-hr-locales.sh
vendored
5
debian/settings/set-hr-locales.sh
vendored
@ -33,12 +33,13 @@ check_root
|
|||||||
echo -ne "\nSet Croatian Time,Numeric,Collate and Monetary Locales ? "
|
echo -ne "\nSet Croatian Time,Numeric,Collate and Monetary Locales ? "
|
||||||
if choice 2>/dev/null; then
|
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/# 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
|
locale-gen
|
||||||
update-locale LC_TIME=\"hr_HR.UTF-8\"
|
update-locale LC_TIME=\"hr_HR.UTF-8\"
|
||||||
update-locale LC_NUMERIC=\"hr_HR.UTF-8\"
|
update-locale LC_NUMERIC=\"hr_HR.UTF-8\"
|
||||||
update-locale LC_COLLATE=\"hr_HR.UTF-8\"
|
update-locale LC_COLLATE=\"hr_HR.UTF-8\"
|
||||||
update-locale LC_MONETARY=\"hr_HR.UTF-8\"
|
update-locale LC_MONETARY=\"hr_HR.UTF-8\"
|
||||||
|
update-initramfs -u
|
||||||
echo -ne "\nPlease reboot system\n"
|
setupcon -k -f
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user