Don't sudo on 'yay'
This commit is contained in:
parent
db0b37329d
commit
e69c38cf07
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue