Don't sudo on 'yay'

This commit is contained in:
Sage Vaillancourt 2023-12-17 17:35:48 -05:00
parent db0b37329d
commit e69c38cf07
1 changed files with 1 additions and 1 deletions

View File

@ -1,7 +1,7 @@
#!/bin/bash #!/bin/bash
if command -v yay &> /dev/null; then if command -v yay &> /dev/null; then
alias pacman="sudo yay" alias pacman="yay"
elif command -v pikaur &> /dev/null; then elif command -v pikaur &> /dev/null; then
alias pacman="sudo pikaur" alias pacman="sudo pikaur"
else else