mirror of
https://github.com/Kron4ek/Conty
synced 2024-12-26 09:58:38 +01:00
Enable ParallelDownloads feature of pacman
Speeds up the package installation process, especially when downloading a lot of small packages.
This commit is contained in:
parent
e3329eb4e2
commit
a8363f87b0
1 changed files with 3 additions and 0 deletions
|
@ -154,6 +154,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
|
||||
|
||||
run_in_chroot pacman -Syu --noconfirm
|
||||
|
||||
# These packages are required for the self-update feature to work properly
|
||||
|
|
Loading…
Reference in a new issue