From c1eff37f8087dd69a399cb43d5ef2806b410d015 Mon Sep 17 00:00:00 2001 From: cronyakatsuki Date: Thu, 13 Oct 2022 19:26:50 +0200 Subject: [PATCH] Fixed multilib and sed expression for pacman settings. --- arch_install.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/arch_install.sh b/arch_install.sh index f82f1d7..d31a78f 100755 --- a/arch_install.sh +++ b/arch_install.sh @@ -100,13 +100,14 @@ exit #part2 printf '\033c' -pacman -S --noconfirm sed +pacman -Syu +pacman -S --noconfirm --needed sed echo "Setting up pacman settings." sed -i "s/^#Color/Color/" /etc/pacman.conf sed -i "s/^#CheckSpace/CheckSpace/" /etc/pacman.conf sed -i "s/^#VerbosePkgLists/VerbosePkgLists/" /etc/pacman.conf sed -i "s/^#ParallelDownloads = 5/ParallelDownloads = 10/" /etc/pacman.conf -sed -i "s/^ParallelDownloads = 10/&\nILoveCandy" /etc/pacman.conf +sed -i "s/^ParallelDownloads = 10/&\nILoveCandy/" /etc/pacman.conf sed -i "/\[multilib\]/,/Include/"'s/^#//' /etc/pacman.conf pacman -Syu