ParallelDownloads now apply to installed system

This commit is contained in:
TessaiMusa 2021-11-13 18:38:11 +05:30
parent c0d3ea0a72
commit 02e85750b5

4
archfi
View file

@ -831,6 +831,7 @@ paralleldownloads() {
sed -i "s/.*ParallelDownloads.*/ParallelDownloads = ${numpkg}/" /etc/pacman.conf
else
clear
unset numpkg
echo ${txtincorrectinput}
pressanykey
fi
@ -931,6 +932,9 @@ installbase(){
clear
echo "pacstrap /mnt ${pkgs}"
pacstrap /mnt ${pkgs}
if [ ! -z $numpkg ]; then
sed -i "s/.*ParallelDownloads.*/ParallelDownloads = ${numpkg}/" /mnt/etc/pacman.conf
fi
pressanykey
}