Browse Source

Test commit for silencing buildah not found error

bryan 5 months ago
parent
commit
5259bbaf99
1 changed files with 6 additions and 0 deletions
  1. 6 0
      installJRMC

+ 6 - 0
installJRMC

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