Test commit for silencing buildah not found error
This commit is contained in:
@@ -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 \
|
||||||
|
|||||||
Reference in New Issue
Block a user