1
0

Fixed multilib and sed expression for pacman settings.

This commit is contained in:
CronyAkatsuki 2022-10-13 19:26:50 +02:00
parent 16c2343444
commit c1eff37f80

View File

@ -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