Don't use yaourt 😱
This commit is contained in:
parent
e4afc981cc
commit
3f38c0fb7e
|
@ -100,20 +100,15 @@ update-system() {
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Archlinux based systems
|
# Archlinux based systems
|
||||||
command -v yaourt > /dev/null 2>&1
|
command -v yay > /dev/null 2>&1
|
||||||
|
|
||||||
if [ $? -eq 0 ]; then
|
if [ $? -eq 0 ]; then
|
||||||
yaourt -Syu
|
yay
|
||||||
else
|
else
|
||||||
command -v yay > /dev/null 2>&1
|
command -v pacman > /dev/null 2>&1
|
||||||
|
|
||||||
if [ $? -eq 0 ]; then
|
if [ $? -eq 0 ]; then
|
||||||
yay
|
sudo pacman -Syu
|
||||||
else
|
|
||||||
command -v pacman > /dev/null 2>&1
|
|
||||||
|
|
||||||
if [ $? -eq 0 ]; then
|
|
||||||
sudo pacman -Syu
|
|
||||||
fi
|
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue