1
0
Fork 0

set ParallelDownloads to 4 for pacman

This commit is contained in:
Pratham Patel 2022-12-21 12:28:49 +05:30
parent 287b8f026f
commit 3601388a91
2 changed files with 2 additions and 2 deletions

View File

@ -49,7 +49,7 @@ if [[ ! $(find "$MIRRORLIST_FILE" -mtime +10) && $IS_REFLECTOR_RUNNING == "n" ]]
fi
# pacman config
sed -i "s/#ParallelDownloads = 5/ParallelDownloads = 10/" /etc/pacman.conf || echo "ParallelDownloads = 10" | tee -a /etc/pacman.conf
sed -i "s/#ParallelDownloads = 5/ParallelDownloads = 4/" /etc/pacman.conf || echo "ParallelDownloads = 4" | tee -a /etc/pacman.conf
# start finding the best mirrors in the background
if [[ ! -f "$MIRRORLIST_FILE" && $IS_REFLECTOR_RUNNING == "n" ]]; then

View File

@ -53,7 +53,7 @@ echo "initramfs successfully created"
################################################################################
# pacman config
sed -i "s/#ParallelDownloads = 5/ParallelDownloads = 2/" /etc/pacman.conf
sed -i "s/#ParallelDownloads = 5/ParallelDownloads = 4/" /etc/pacman.conf
sed -i "s/#Color/Color/" /etc/pacman.conf
# update pacman db