From cbd6df6a3cc31fef70a59f08910e0b9f586a9fed Mon Sep 17 00:00:00 2001 From: khai96_ Date: Mon, 8 Feb 2021 17:57:16 +0700 Subject: [PATCH] Merge 'pacman -Syu' and 'pacman -S ' --- init-image.bash | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/init-image.bash b/init-image.bash index 99a1ea4..6197f52 100755 --- a/init-image.bash +++ b/init-image.bash @@ -5,13 +5,12 @@ set -o errexit -o pipefail -o nounset -pacman -Syu --noconfirm -pacman -Fy --noconfirm - packages=( base base-devel # makepkg depends on this bash # obviously already installed, but still here for completeness sake git # some sources are git urls ) -pacman -S --noconfirm --needed --overwrite '*' "${packages[@]}" + +pacman -Syu --noconfirm --needed --overwrite '*' "${packages[@]}" +pacman -Fy --noconfirm