mirror of
https://github.com/CachyOS/New-Cli-Installer.git
synced 2025-01-23 14:32:22 +08:00
🚧 fix locale detection
This commit is contained in:
parent
e452bdce71
commit
52529f16fd
@ -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";
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user