From 20a1a1c84a3d96cfafd12210c18b01f24d8988e9 Mon Sep 17 00:00:00 2001 From: Youssef Bouzekri Date: Tue, 1 Jun 2021 14:55:42 +0100 Subject: [PATCH] Use the paru AUR helper instead of yay --- larbs.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/larbs.sh b/larbs.sh index caefffe..0ebbc8e 100644 --- a/larbs.sh +++ b/larbs.sh @@ -16,7 +16,7 @@ esac done [ -z "$dotfilesrepo" ] && dotfilesrepo="https://github.com/lukesmithxyz/voidrice.git" [ -z "$progsfile" ] && progsfile="https://raw.githubusercontent.com/LukeSmithxyz/LARBS/master/progs.csv" -[ -z "$aurhelper" ] && aurhelper="yay" +[ -z "$aurhelper" ] && aurhelper="paru" [ -z "$repobranch" ] && repobranch="master" ### FUNCTIONS ### @@ -185,7 +185,7 @@ 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 yay colorful and adds eye candy on the progress bar because why not. +# 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 @@ -247,7 +247,7 @@ killall pulseaudio; sudo -u "$name" pulseaudio --start # This line, overwriting the `newperms` command above will allow the user to run # serveral important commands, `shutdown`, `reboot`, updating, etc. without a password. newperms "%wheel ALL=(ALL) ALL #LARBS -%wheel ALL=(ALL) NOPASSWD: /usr/bin/shutdown,/usr/bin/reboot,/usr/bin/systemctl suspend,/usr/bin/wifi-menu,/usr/bin/mount,/usr/bin/umount,/usr/bin/pacman -Syu,/usr/bin/pacman -Syyu,/usr/bin/packer -Syu,/usr/bin/packer -Syyu,/usr/bin/systemctl restart NetworkManager,/usr/bin/rc-service NetworkManager restart,/usr/bin/pacman -Syyu --noconfirm,/usr/bin/loadkeys,/usr/bin/yay,/usr/bin/pacman -Syyuw --noconfirm" +%wheel ALL=(ALL) NOPASSWD: /usr/bin/shutdown,/usr/bin/reboot,/usr/bin/systemctl suspend,/usr/bin/wifi-menu,/usr/bin/mount,/usr/bin/umount,/usr/bin/pacman -Syu,/usr/bin/pacman -Syyu,/usr/bin/packer -Syu,/usr/bin/packer -Syyu,/usr/bin/systemctl restart NetworkManager,/usr/bin/rc-service NetworkManager restart,/usr/bin/pacman -Syyu --noconfirm,/usr/bin/loadkeys,/usr/bin/paru,/usr/bin/pacman -Syyuw --noconfirm" # Last message! Install complete! finalize