Don't sudo on 'yay'
This commit is contained in:
parent
db0b37329d
commit
e69c38cf07
|
@ -1,7 +1,7 @@
|
|||
#!/bin/bash
|
||||
|
||||
if command -v yay &> /dev/null; then
|
||||
alias pacman="sudo yay"
|
||||
alias pacman="yay"
|
||||
elif command -v pikaur &> /dev/null; then
|
||||
alias pacman="sudo pikaur"
|
||||
else
|
||||
|
|
Loading…
Reference in New Issue