Try silencing buildah error on Ubuntu
This commit is contained in:
@@ -16,7 +16,7 @@
|
|||||||
|
|
||||||
shopt -s extglob
|
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 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_VERSION="33.0.15" # Do find all replace
|
||||||
declare -g MC_DEFAULT_REPO="bullseye" # should match the MC_VERSION
|
declare -g MC_DEFAULT_REPO="bullseye" # should match the MC_VERSION
|
||||||
@@ -458,7 +458,7 @@ setMCVersion() {
|
|||||||
MC_VERSION="$USER_MC_VERSION"
|
MC_VERSION="$USER_MC_VERSION"
|
||||||
# Containerized package manager
|
# Containerized package manager
|
||||||
elif installPackage --silent buildah &&
|
elif installPackage --silent buildah &&
|
||||||
cnt=$(buildah from --quiet alpine:edge) &&
|
cnt=$(buildah from --quiet alpine:edge) &>/dev/null &&
|
||||||
buildah run "$cnt" -- sh -c \
|
buildah run "$cnt" -- sh -c \
|
||||||
"apk add apt" &>/dev/null &&
|
"apk add apt" &>/dev/null &&
|
||||||
buildah run "$cnt" -- sh -c \
|
buildah run "$cnt" -- sh -c \
|
||||||
|
|||||||
Reference in New Issue
Block a user