Better handle CurseForge manifest.json (#414)

This commit is contained in:
hannah98
2019-11-21 13:50:06 -06:00
committed by Geoff Bourne
parent 581d5fde1d
commit 5fa33c7813
2 changed files with 16 additions and 6 deletions

View File

@@ -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
}
}