Fixed multilib and sed expression for pacman settings.
This commit is contained in:
parent
16c2343444
commit
c1eff37f80
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user