Change mods name on dl

This commit is contained in:
2017-07-28 18:59:00 +00:00
parent b61f96fd88
commit 0685bb794e

View File

@@ -18,6 +18,6 @@ do
f=$(echo '{'$addr'}' | getJsonVal "['fileID']")
if [ -n "$p" ]; then
wget https://minecraft.curseforge.com/projects/$p/files/$f/download -O /minecraft/mods/${p}_${f}.jar
wget https://minecraft.curseforge.com/projects/$p/files/$f/download --content-disposition -P /minecraft/mods/
fi
done