Test commit for silencing buildah not found error

This commit is contained in:
2024-11-04 13:46:31 -05:00
parent 31abe6385c
commit 011c9e06a8

View File

@@ -493,8 +493,8 @@ install_package() {
esac
# Install packages if any need installation
echo "${PKG_INSTALL[@]}" "${install_flags[@]}" "${pkg_array[@]}"
if [[ ${#pkg_array[@]} -gt 0 ]]; then
debug "${PKG_INSTALL[@]}" "${install_flags[@]}" "${pkg_array[@]}"
if ! "${PKG_INSTALL[@]}" "${install_flags[@]}" "${pkg_array[@]}"; then
((silent)) || err "Failed to install ${pkg_array[*]}"
return 1