make paralleldownloads pattern more specific
instead of uncommenting all lines containing 'ParallelDownloads', do it on ones starting with '#ParallelDownloads'
This commit is contained in:
parent
486259f99c
commit
4901644a3e
|
|
@ -30,7 +30,7 @@ timedatectl set-ntp true
|
|||
pacman -S --noconfirm archlinux-keyring #update keyrings to latest to prevent packages failing to install
|
||||
pacman -S --noconfirm --needed pacman-contrib terminus-font
|
||||
setfont ter-v22b
|
||||
sed -i '/ParallelDownloads/s/^#//' /etc/pacman.conf
|
||||
sed -i '/^#ParallelDownloads/s/^.//' /etc/pacman.conf
|
||||
pacman -S --noconfirm --needed reflector rsync grub
|
||||
cp /etc/pacman.d/mirrorlist /etc/pacman.d/mirrorlist.backup
|
||||
echo "
|
||||
|
|
|
|||
|
|
@ -60,7 +60,7 @@ sed -i '/%wheel ALL=(ALL) NOPASSWD: ALL/s/^# //' /etc/sudoers
|
|||
sed -i '/%wheel ALL=(ALL:ALL) NOPASSWD: ALL/s/^# //' /etc/sudoers
|
||||
|
||||
#Add parallel downloading
|
||||
sed -i '/ParallelDownloads/s/^#//' /etc/pacman.conf
|
||||
sed -i '/^#ParallelDownloads/s/^.//' /etc/pacman.conf
|
||||
|
||||
#Enable multilib
|
||||
sed -i "/\[multilib\]/,/Include/"'s/^#//' /etc/pacman.conf
|
||||
|
|
|
|||
Loading…
Reference in New Issue