From 10c1f8318bf480ac3fa80b94b1f03ebe905f46b9 Mon Sep 17 00:00:00 2001 From: Chris Titus Date: Thu, 21 Oct 2021 17:35:30 -0500 Subject: [PATCH] Cleaner Multilib Implementation --- 0-preinstall.sh | 1 + 1-setup.sh | 5 +---- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/0-preinstall.sh b/0-preinstall.sh index 48699b5..041d175 100755 --- a/0-preinstall.sh +++ b/0-preinstall.sh @@ -15,6 +15,7 @@ iso=$(curl -4 ifconfig.co/country-iso) timedatectl set-ntp true pacman -S --noconfirm pacman-contrib terminus-font setfont ter-v22b +sed -i 's/^#Para/Para/' /etc/pacman.conf pacman -S --noconfirm reflector rsync mv /etc/pacman.d/mirrorlist /etc/pacman.d/mirrorlist.backup echo -e "-------------------------------------------------------------------------" diff --git a/1-setup.sh b/1-setup.sh index c5714b4..35a1ecd 100755 --- a/1-setup.sh +++ b/1-setup.sh @@ -65,10 +65,7 @@ sed -i 's/^# %wheel ALL=(ALL) NOPASSWD: ALL/%wheel ALL=(ALL) NOPASSWD: ALL/' /et sed -i 's/^#Para/Para/' /etc/pacman.conf #Enable multilib -cat <> /etc/pacman.conf -[multilib] -Include = /etc/pacman.d/mirrorlist -EOF +sed -i "/\[multilib\]/,/Include/"'s/^#//' /etc/pacman.conf pacman -Sy --noconfirm echo -e "\nInstalling Base System\n"