ParallelDownloads now apply to installed system
This commit is contained in:
parent
c0d3ea0a72
commit
02e85750b5
1 changed files with 4 additions and 0 deletions
4
archfi
4
archfi
|
@ -831,6 +831,7 @@ paralleldownloads() {
|
||||||
sed -i "s/.*ParallelDownloads.*/ParallelDownloads = ${numpkg}/" /etc/pacman.conf
|
sed -i "s/.*ParallelDownloads.*/ParallelDownloads = ${numpkg}/" /etc/pacman.conf
|
||||||
else
|
else
|
||||||
clear
|
clear
|
||||||
|
unset numpkg
|
||||||
echo ${txtincorrectinput}
|
echo ${txtincorrectinput}
|
||||||
pressanykey
|
pressanykey
|
||||||
fi
|
fi
|
||||||
|
@ -931,6 +932,9 @@ installbase(){
|
||||||
clear
|
clear
|
||||||
echo "pacstrap /mnt ${pkgs}"
|
echo "pacstrap /mnt ${pkgs}"
|
||||||
pacstrap /mnt ${pkgs}
|
pacstrap /mnt ${pkgs}
|
||||||
|
if [ ! -z $numpkg ]; then
|
||||||
|
sed -i "s/.*ParallelDownloads.*/ParallelDownloads = ${numpkg}/" /mnt/etc/pacman.conf
|
||||||
|
fi
|
||||||
pressanykey
|
pressanykey
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue