Don't use yaourt 😱

This commit is contained in:
Thomas Forgione 2019-03-13 10:46:24 +01:00
parent e4afc981cc
commit 3f38c0fb7e
No known key found for this signature in database
GPG Key ID: 203DAEA747F48F41
1 changed files with 5 additions and 10 deletions

View File

@ -100,10 +100,6 @@ update-system() {
fi fi
# Archlinux based systems # Archlinux based systems
command -v yaourt > /dev/null 2>&1
if [ $? -eq 0 ]; then
yaourt -Syu
else
command -v yay > /dev/null 2>&1 command -v yay > /dev/null 2>&1
if [ $? -eq 0 ]; then if [ $? -eq 0 ]; then
@ -115,7 +111,6 @@ 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