Test commit for silencing buildah not found error

This commit is contained in:
2024-11-04 13:12:42 -05:00
parent b0f31ed3f0
commit 5259bbaf99

View File

@@ -399,6 +399,12 @@ get_latest_mc_version() {
debug "Running: ${FUNCNAME[0]}" "$*" debug "Running: ${FUNCNAME[0]}" "$*"
local cnt mc_version_source local cnt mc_version_source
if install_local --silent buildah; then
echo "YAY"
else
echo "NAY"
fi
if install_package --silent buildah \ if install_package --silent buildah \
&& cnt=$(buildah from --quiet alpine:edge 2>/dev/null) \ && cnt=$(buildah from --quiet alpine:edge 2>/dev/null) \
&& buildah run "$cnt" -- sh -c \ && buildah run "$cnt" -- sh -c \