mirror of
https://github.com/itzg/docker-minecraft-server.git
synced 2026-02-17 07:03:57 +00:00
Silence content type error for external spiget resources (#1431)
This commit is contained in:
@@ -197,6 +197,14 @@ function get() {
|
||||
mc-image-helper "${flags[@]}" get "$@"
|
||||
}
|
||||
|
||||
function get_silent() {
|
||||
local flags=(-s)
|
||||
if isTrue "${DEBUG_GET:-false}"; then
|
||||
flags+=("--debug")
|
||||
fi
|
||||
mc-image-helper "${flags[@]}" get "$@"
|
||||
}
|
||||
|
||||
function isFamily() {
|
||||
for f in "${@}"; do
|
||||
if [[ ${FAMILY^^} == "${f^^}" ]]; then
|
||||
|
||||
Reference in New Issue
Block a user