aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-x0-preinstall.sh1
-rwxr-xr-x1-setup.sh5
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 <<EOF >> /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"