This commit is contained in:
terem42
2023-04-21 18:18:10 +02:00
parent 34239946e1
commit 42d9cbc56f

View File

@@ -627,6 +627,7 @@ CONF
chroot_execute "apt update" chroot_execute "apt update"
echo "======= setting locale, console and language ==========" echo "======= setting locale, console and language =========="
chroot_execute "apt --fix-broken install"
chroot_execute "apt install --yes -qq locales debconf-i18n apt-utils keyboard-configuration console-setup" chroot_execute "apt install --yes -qq locales debconf-i18n apt-utils keyboard-configuration console-setup"
sed -i 's/# en_US.UTF-8/en_US.UTF-8/' "$c_zfs_mount_dir/etc/locale.gen" sed -i 's/# en_US.UTF-8/en_US.UTF-8/' "$c_zfs_mount_dir/etc/locale.gen"
sed -i 's/# fr_FR.UTF-8/fr_FR.UTF-8/' "$c_zfs_mount_dir/etc/locale.gen" sed -i 's/# fr_FR.UTF-8/fr_FR.UTF-8/' "$c_zfs_mount_dir/etc/locale.gen"