Test yay
This commit is contained in:
parent
9744543884
commit
125603fba3
|
@ -103,6 +103,11 @@ update-system() {
|
|||
command -v yaourt > /dev/null 2>&1
|
||||
if [ $? -eq 0 ]; then
|
||||
yaourt -Syu
|
||||
else
|
||||
command -v yay > /dev/null 2>&1
|
||||
|
||||
if [ $? -eq 0 ]; then
|
||||
yay
|
||||
else
|
||||
command -v pacman > /dev/null 2>&1
|
||||
|
||||
|
@ -110,6 +115,7 @@ update-system() {
|
|||
sudo pacman -Syu
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
|
||||
# Fedora based systems
|
||||
command -v dnf > /dev/null 2>&1
|
||||
|
|
Loading…
Reference in New Issue