mirror of
https://github.com/Kron4ek/Conty
synced 2024-12-26 09:58:38 +01:00
Reduce the ParallelDownloads threads to 3
This commit is contained in:
parent
f55411b712
commit
672a4da42f
1 changed files with 3 additions and 2 deletions
|
@ -173,8 +173,9 @@ echo >> "${bootstrap}"/etc/pacman.conf
|
|||
echo "[chaotic-aur]" >> "${bootstrap}"/etc/pacman.conf
|
||||
echo "Include = /etc/pacman.d/chaotic-mirrorlist" >> "${bootstrap}"/etc/pacman.conf
|
||||
|
||||
# Enable ParallelDownloads feature of pacman
|
||||
sed -i 's/#ParallelDownloads = 5/ParallelDownloads = 5/g' "${bootstrap}"/etc/pacman.conf
|
||||
# The ParallelDownloads feature of pacman
|
||||
# Speeds up packages installation, especially when there are many small packages to install
|
||||
sed -i 's/#ParallelDownloads = 5/ParallelDownloads = 3/g' "${bootstrap}"/etc/pacman.conf
|
||||
|
||||
run_in_chroot pacman -Syu --noconfirm
|
||||
|
||||
|
|
Loading…
Reference in a new issue