Update file run_onchange_before_10-install-fedora-dependencies.tmpl

This commit is contained in:
Brian Zalewski 2023-02-02 05:39:04 +00:00
parent 8ee99bf1ec
commit 6901c8e529

View file

@ -20,7 +20,7 @@ for PACKAGE in {{ $packages | sortAlpha | uniq | join " " -}}; do
logg info 'The '"$PACKAGE"' package is already installed'
else
logg info 'Installing `'"$PACKAGE"'`'
sudo dnf install -y --enablerepo="epel" "$PACKAGE" || EXIT_CODE=$?
sudo dnf install -y "$PACKAGE" || EXIT_CODE=$?
if [ -n "$EXIT_CODE" ]; then
logg error 'Error installing `'"$PACKAGE"'` via dnf'
logg info 'Proceeding with installation..'