Skip to content

Commit

Permalink
Merge 'pacman -Syu' and 'pacman -S <packages>'
Browse files Browse the repository at this point in the history
  • Loading branch information
KSXGitHub committed Feb 8, 2021
1 parent 3db1038 commit cbd6df6
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions init-image.bash
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit cbd6df6

Please sign in to comment.