Bläddra i källkod

Try silencing buildah error on Ubuntu

bryan 1 månad sedan
förälder
incheckning
2934b19819
1 ändrade filer med 2 tillägg och 2 borttagningar
  1. 2 2
      installJRMC

+ 2 - 2
installJRMC

@@ -16,7 +16,7 @@
 
 shopt -s extglob
 
-declare -g SCRIPTVERSION="1.2.1"
+declare -g SCRIPTVERSION="1.2.2-dev"
 declare -g BOARDURL="https://yabb.jriver.com/interact/index.php/board,86.0.html" # MC33
 declare -g MC_VERSION="33.0.15" # Do find all replace
 declare -g MC_DEFAULT_REPO="bullseye" # should match the MC_VERSION 
@@ -458,7 +458,7 @@ setMCVersion() {
         MC_VERSION="$USER_MC_VERSION"
     # Containerized package manager
     elif installPackage --silent buildah &&
-    cnt=$(buildah from --quiet alpine:edge) &&
+    cnt=$(buildah from --quiet alpine:edge) &>/dev/null &&
     buildah run "$cnt" -- sh -c \
         "apk add apt" &>/dev/null &&
     buildah run "$cnt" -- sh -c \