[mc] For FTB pass-thru custom mod URLs

for #155
This commit is contained in:
Geoff Bourne 2017-09-03 20:20:25 -05:00
parent 9ee907783d
commit 6b9033318b

View File

@ -270,9 +270,9 @@ function installFTB {
local srv_modpack=${FTB_SERVER_MOD}
if isURL ${srv_modpack}; then
case $srv_modpack in
*/download)
https://www.feed-the-beast.com/*/download)
break;;
*)
https://www.feed-the-beast.com/*)
srv_modpack=${srv_modpack}/download;;
esac
local file=$(basename $(dirname $srv_modpack))