mirror of
https://github.com/donovanglover/nix-config.git
synced 2024-11-22 16:23:57 +01:00
Change pacaur to yay in aur.sh
This commit is contained in:
parent
05f27e41a1
commit
825a932ccd
@ -18,7 +18,7 @@
|
||||
#
|
||||
##################################################################################
|
||||
|
||||
# Ensure that a <localuser> was given so we can use pacaur from it
|
||||
# Ensure that a <localuser> was given so we can use yay from it
|
||||
if [ -z "$1" ]; then
|
||||
echo "You need to specify a local user to use."
|
||||
echo "Usage: aur.sh <localuser>"
|
||||
@ -30,7 +30,7 @@ LOCALUSER=$1
|
||||
|
||||
# Handle installing packages from the AUR
|
||||
function get() {
|
||||
su $LOCALUSER --session-command "pacaur -S $1 --noconfirm --noedit"
|
||||
su $LOCALUSER --session-command "yay -S $1 --noconfirm --noedit"
|
||||
}
|
||||
|
||||
get i3-gaps # Install i3-gaps, our window manager of choice
|
||||
|
Loading…
Reference in New Issue
Block a user