diff options
Diffstat (limited to 'zirless.sh')
-rw-r--r-- | zirless.sh | 9 |
1 files changed, 5 insertions, 4 deletions
@@ -206,10 +206,11 @@ 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 paru 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 -grep -q "ILoveCandy" /etc/pacman.conf || sed -i "/#VerbosePkgLists/a #ILoveCandy" /etc/pacman.conf -grep -q "ParallelDownloads" /etc/pacman.conf || sed -i "/ILoveCandy/a ParallelDownloads = 6" /etc/pacman.conf +# Make pacman and paru colorful but turns off ilovecandy on the progress bar. +grep -q "^Color" /etc/pacman.conf || sed -i "s/^#Color$/Color/" /etc/pacman.conf || + sed -i "/UseSyslog/a Color" /etc/pacman.conf +grep -q "^ILoveCandy" /etc/pacman.conf && sed -i "s/^ILoveCandy/#ILoveCandy" /etc/pacman.conf +grep -q "^#ParallelDownloads" /etc/pacman.conf && sed -i "s/^#ParallelDownloads/ParallelDownloads/" /etc/pacman.conf # Use all cores for compilation. sed -i "s/-j2/-j$(nproc)/;s/^#MAKEFLAGS/MAKEFLAGS/" /etc/makepkg.conf |