[mc] For FTB add legacy java fixer option

This commit is contained in:
Geoff Bourne
2018-01-07 17:18:45 -06:00
parent 931c27a5ec
commit f5f20f3563
5 changed files with 56 additions and 12 deletions
+28
View File
@@ -0,0 +1,28 @@
#!/bin/bash
function isURL {
local value=$1
if [[ ${value:0:8} == "https://" || ${value:0:7} = "http://" ]]; then
return 0
else
return 1
fi
}
function isTrue {
local value=${1,,}
result=
case ${value} in
true|on)
result=0
;;
*)
result=1
;;
esac
return ${result}
}