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