From 7aecfdd17c0cf859841344b3b84866f2b79c8d75 Mon Sep 17 00:00:00 2001 From: JMARyA Date: Sat, 28 Jun 2025 04:46:43 +0200 Subject: [PATCH] fix --- src/main.rs | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/src/main.rs b/src/main.rs index 3f6de67..8eb1cee 100644 --- a/src/main.rs +++ b/src/main.rs @@ -93,12 +93,14 @@ pub fn build(image: &str, ci: bool) { let mut docker_script = vec![ "set -e".to_string(), "pacman-key --init".to_string(), - "pacman-key --populate archlinux".to_string(), - if Architecture::own() == Architecture::aarch64 { - "pacman-key --populate archlinux-arm".to_string() - } else { - String::new() - }, + format!( + "pacman-key --populate archlinux{}", + if Architecture::own() == Architecture::aarch64 { + " && pacman-key --populate archlinux-arm".to_string() + } else { + String::new() + } + ), "pacman -Syu --noconfirm".to_string(), "pacman -S --noconfirm rsync base-devel".to_string(), ];