build.sh: pacman: never use -S without -yu syncing

https://wiki.archlinux.org/index.php/Pacman#Usage
handle-patch-and-put
Cat Stevens 2018-08-18 11:24:14 -04:00 committed by John Benediktsson
parent 3559e47957
commit 60785ef0fc
1 changed files with 1 additions and 1 deletions

View File

@ -681,7 +681,7 @@ install_deps_apt() {
}
install_deps_pacman() {
sudo pacman --noconfirm -S gcc clang make rlwrap git wget pango glibc gtk2 gtk3 gtkglext gtk-engines gdk-pixbuf2 libx11 screen tmux
sudo pacman --noconfirm -Syu gcc clang make rlwrap git wget pango glibc gtk2 gtk3 gtkglext gtk-engines gdk-pixbuf2 libx11 screen tmux
check_ret sudo
}