From 7f9237a9a0ee27ffb274247e278df1fd4ab03984 Mon Sep 17 00:00:00 2001 From: Eduard Toloza Date: Sun, 21 Apr 2019 01:28:58 -0500 Subject: [PATCH] Enable multilib repo by default. --- src/functions.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/functions.rs b/src/functions.rs index 164b90e..5ea387e 100644 --- a/src/functions.rs +++ b/src/functions.rs @@ -90,6 +90,8 @@ pub fn setup_chroot() { .status() .expect("Failed to setup chroot environment."); if up_chroot.success() { + writeln!(coloring("yellow"), "Enabling multilib repos..."); + Command::new(&devtools_nspawn).args(&[&chroot_root, "/bin/sh", "-c", "echo -e '\n[multilib]\nInclude = /etc/pacman.d/mirrorlist\n' | sudo tee -a /etc/pacman.conf > /dev/null"]).status().expect("Failed enabling multilib repos."); writeln!( coloring("yellow"), "Configuring BlackArch Linux repo in the chroot environment..."