Test commit for silencing buildah not found error

This commit is contained in:
2024-11-04 13:44:58 -05:00
parent ce81c689df
commit 31abe6385c

View File

@@ -494,11 +494,11 @@ install_package() {
# Install packages if any need installation
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
fi
echo "HERE!"
fi
return 0
}