Don't reinstall dependencies on arch linux (#7801)

Very minor quality of life update, passing the --needed flag to pacman
to skip reinstalling up to date dependencies.

Release Notes:

- N/A
This commit is contained in:
gmorenz 2024-02-14 17:28:29 -05:00 committed by GitHub
parent cbbc8cad84
commit a3300aed31
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -38,7 +38,7 @@ if [[ -n $pacman ]]; then
fontconfig
vulkan-validation-layers
)
$maysudo "$pacman" -S --noconfirm "${deps[@]}"
$maysudo "$pacman" -S --needed --noconfirm "${deps[@]}"
exit 0
fi