Use the paru AUR helper instead of yay
This commit is contained in:
parent
c79188c047
commit
20a1a1c84a
6
larbs.sh
6
larbs.sh
@ -16,7 +16,7 @@ esac done
|
|||||||
|
|
||||||
[ -z "$dotfilesrepo" ] && dotfilesrepo="https://github.com/lukesmithxyz/voidrice.git"
|
[ -z "$dotfilesrepo" ] && dotfilesrepo="https://github.com/lukesmithxyz/voidrice.git"
|
||||||
[ -z "$progsfile" ] && progsfile="https://raw.githubusercontent.com/LukeSmithxyz/LARBS/master/progs.csv"
|
[ -z "$progsfile" ] && progsfile="https://raw.githubusercontent.com/LukeSmithxyz/LARBS/master/progs.csv"
|
||||||
[ -z "$aurhelper" ] && aurhelper="yay"
|
[ -z "$aurhelper" ] && aurhelper="paru"
|
||||||
[ -z "$repobranch" ] && repobranch="master"
|
[ -z "$repobranch" ] && repobranch="master"
|
||||||
|
|
||||||
### FUNCTIONS ###
|
### 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.
|
# in a fakeroot environment, this is required for all builds with AUR.
|
||||||
newperms "%wheel ALL=(ALL) NOPASSWD: ALL"
|
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 "^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 "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
|
# This line, overwriting the `newperms` command above will allow the user to run
|
||||||
# serveral important commands, `shutdown`, `reboot`, updating, etc. without a password.
|
# serveral important commands, `shutdown`, `reboot`, updating, etc. without a password.
|
||||||
newperms "%wheel ALL=(ALL) ALL #LARBS
|
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!
|
# Last message! Install complete!
|
||||||
finalize
|
finalize
|
||||||
|
Loading…
Reference in New Issue
Block a user