No confirm

This commit is contained in:
Thomas Forgione 2019-03-15 20:42:03 +01:00
parent 6812c639be
commit 503ddc304e
No known key found for this signature in database
GPG Key ID: BFD17A2D71B3B5E7
1 changed files with 2 additions and 2 deletions

View File

@ -103,12 +103,12 @@ update-system() {
command -v yay > /dev/null 2>&1
if [ $? -eq 0 ]; then
yay
yay -Syua --noconfirm
else
command -v pacman > /dev/null 2>&1
if [ $? -eq 0 ]; then
sudo pacman -Syu
sudo pacman -Syu --noconfirm
fi
fi