mirror of
https://github.com/itzg/docker-minecraft-server.git
synced 2026-04-05 05:08:52 +00:00
Better handle CurseForge manifest.json (#414)
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
function isURL {
|
||||
local value=$1
|
||||
|
||||
if [[ ${value:0:8} == "https://" || ${value:0:7} = "http://" ]]; then
|
||||
if [[ ${value:0:8} == "https://" || ${value:0:7} == "http://" ]]; then
|
||||
return 0
|
||||
else
|
||||
return 1
|
||||
@@ -39,4 +39,4 @@ function debug {
|
||||
if isDebugging; then
|
||||
echo "DEBUG: $*"
|
||||
fi
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user