Browse Source

correct detection of mods related to stopgap mods

master
poikilos 6 years ago
committed by Jacob Gustafson
parent
commit
eb2b2b92a9
  1. 19
      webapp/install-mts.sh

19
webapp/install-mts.sh

@ -298,11 +298,26 @@ if [ "@$enable_client" = "@true" ]; then
fi
fi
if [ -d $HOME/minetest/games/ENLIVEN/mods/animal_materials ]; then
if [ -f $HOME/minetest/games/ENLIVEN/mods/codermobs/animal_materials.lua ]; then
if [ -d patches/mods-stopgap/animal_materials_legacy ]; then
echo "* installing animal_materials_legacy (only needed for worlds created with old versions of Bucket_Game)"
rsync -rt patches/mods-stopgap/animal_materials_legacy $HOME/minetest/games/ENLIVEN/mods/
else
echo "* MISSING patches/mods-stopgap/animal_materials"
fi
else
echo "* SKIPPING a stopgap mod since no animal_materials"
fi
if [ -d $HOME/minetest/games/ENLIVEN/mods/nftools ]; then
if [ -d "$HOME/minetest/games/ENLIVEN/mods/coderbuild/nftools" ]; then
if [ -d patches/mods-stopgap/nftools_legacy ]; then
echo "* installing nftools_legacy (only needed for worlds created with old versions of Bucket_Game)"
rsync -rt patches/mods-stopgap/nftools_legacy $HOME/minetest/games/ENLIVEN/mods/
else
echo "* MISSING patches/mods-stopgap/nftools_legacy"
fi
else
echo "* SKIPPING a stopgap mod since no nftools"
fi
popd

Loading…
Cancel
Save