Kaynağa Gözat

Test commit for silencing buildah not found error

bryan 5 ay önce
ebeveyn
işleme
5259bbaf99
1 değiştirilmiş dosya ile 6 ekleme ve 0 silme
  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 \