🚧 fix locale detection

This commit is contained in:
Vladislav Nepogodin 2023-04-02 03:08:57 +04:00
parent e452bdce71
commit 52529f16fd
No known key found for this signature in database
GPG Key ID: B62C3D10C54D5DA9

View File

@ -2169,7 +2169,7 @@ void final_check() noexcept {
//[[ ! -e /mnt/.video_installed ]] && echo "- $_GCCheck" >> ${CHECKLIST}
// Check if locales have been generated
if (utils::to_int(utils::exec(fmt::format(FMT_COMPILE("arch-chroot {} locale -a | wc -l"), mountpoint), true)) < 3) {
if (utils::to_int(utils::exec(fmt::format(FMT_COMPILE("arch-chroot {} locale -a | wc -l"), mountpoint), false)) < 3) {
checklist += "- Locales have not been generated\n";
}