From 605c34e39318990cfab01c2699ab01633c511ef0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ivan=20Juri=C5=A1i=C4=87?= Date: Thu, 22 Feb 2024 09:45:15 +0100 Subject: [PATCH] Updated hr locales --- debian/settings/set-hr-locales.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/debian/settings/set-hr-locales.sh b/debian/settings/set-hr-locales.sh index 966f971..8f3c862 100755 --- a/debian/settings/set-hr-locales.sh +++ b/debian/settings/set-hr-locales.sh @@ -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