Test commit for silencing buildah not found error

This commit is contained in:
2024-11-04 13:29:59 -05:00
parent 5259bbaf99
commit 5bf62dc9d9

View File

@@ -399,13 +399,7 @@ 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 if install_package buildah \
echo "YAY"
else
echo "NAY"
fi
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 \
"apk add apt" &>/dev/null \ "apk add apt" &>/dev/null \