No confirm
This commit is contained in:
parent
6812c639be
commit
503ddc304e
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue