Fix ParallelDownloads
Change sed regex to '^#ParallelDownloads.*$' so it can handle lines like #ParallelDownloads = 5 #ParallelDownloads = 8 #ParallelDownloads<any other value>
This commit is contained in:
parent
e19a69ae45
commit
489c9a382c
2
larbs.sh
2
larbs.sh
@ -198,7 +198,7 @@ newperms "%wheel ALL=(ALL) NOPASSWD: ALL"
|
||||
|
||||
# Make pacman colorful, concurrent downloads and Pacman eye-candy.
|
||||
grep -q "ILoveCandy" /etc/pacman.conf || sed -i "/#VerbosePkgLists/a ILoveCandy" /etc/pacman.conf
|
||||
sed -i "s/^#ParallelDownloads = 8$/ParallelDownloads = 5/;s/^#Color$/Color/" /etc/pacman.conf
|
||||
sed -i "s/^#ParallelDownloads.*$/ParallelDownloads = 5/;s/^#Color$/Color/" /etc/pacman.conf
|
||||
|
||||
# Use all cores for compilation.
|
||||
sed -i "s/-j2/-j$(nproc)/;s/^#MAKEFLAGS/MAKEFLAGS/" /etc/makepkg.conf
|
||||
|
Loading…
Reference in New Issue
Block a user