Test commit for silencing buildah not found error

This commit is contained in:
2024-11-04 13:43:31 -05:00
parent da5f765168
commit ce81c689df

View File

@@ -492,14 +492,13 @@ install_package() {
((no_gpg_check)) && install_flags+=(--allow-unsigned-rpm) ;; ((no_gpg_check)) && install_flags+=(--allow-unsigned-rpm) ;;
esac esac
echo "Pacakge array: ${pkg_array[*]}"
# Install packages if any need installation # Install packages if any need installation
if [[ ${#pkg_array[@]} -gt 0 ]]; then if [[ ${#pkg_array[@]} -gt 0 ]]; then
if ! "${PKG_INSTALL[@]}" "${install_flags[@]}" "${pkg_array[@]}"; then if ! "${PKG_INSTALL[@]}" "${install_flags[@]}" "${pkg_array[@]}"; then
((silent)) || err "Failed to install ${pkg_array[*]}" ((silent)) || err "Failed to install ${pkg_array[*]}"
return 1 return 1
fi fi
echo "HERE!"
fi fi
return 0 return 0
} }