mirror of
https://github.com/itzg/docker-minecraft-server.git
synced 2026-11-03 07:35:33 +00:00
Better handle CurseForge manifest.json (#414)
This commit is contained in:
1 parent
581d5fde1d
commit
5fa33c7813
2 files changed
+16
-6
No files matched your search
+2
-2
@@ -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