From 452e8cd717303eb2b3e0d3c953f8b193196f02ce Mon Sep 17 00:00:00 2001 From: Luke Smith Date: Thu, 23 Sep 2021 16:47:29 -0400 Subject: [PATCH] slim commands --- larbs.sh | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/larbs.sh b/larbs.sh index 3bbf403..cfc53f8 100644 --- a/larbs.sh +++ b/larbs.sh @@ -184,12 +184,9 @@ adduserandpass || error "Error adding username and/or password." # in a fakeroot environment, this is required for all builds with AUR. newperms "%wheel ALL=(ALL) NOPASSWD: ALL" -# Make pacman and AUR helper colorful and adds eye candy on the progress bar because why not. -grep -q "^Color" /etc/pacman.conf || sed -i "s/^#Color$/Color/" /etc/pacman.conf +# Make pacman colorful, concurrent downloads and Pacman eye-candy. grep -q "ILoveCandy" /etc/pacman.conf || sed -i "/#VerbosePkgLists/a ILoveCandy" /etc/pacman.conf -# Enable parallel downloads for pacman. -grep -q "^#ParallelDownloads = 8$" /etc/pacman.conf \ - && sed -i "s/^#ParallelDownloads = 8$/ParallelDownloads = 5/" /etc/pacman.conf +sed -i "s/^#ParallelDownloads = 8$/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