Browse Source

fixed issues where running installer again

and refactoring file locations
master
poikilos 7 years ago
committed by Jacob Gustafson
parent
commit
1e7df119e7
  1. 0
      etc/Mods,WIP-nonworking/homedecor_censorship/README.txt
  2. 0
      etc/Mods,WIP-nonworking/homedecor_censorship/depends.txt
  3. 0
      etc/Mods,WIP-nonworking/homedecor_censorship/init.lua
  4. 16
      etc/change_hardcoded_world_name_first/game-install-ENLIVEN

0
etc/Mods,WIP/1.nonworking/homedecor_censorship/README.txt → etc/Mods,WIP-nonworking/homedecor_censorship/README.txt

0
etc/Mods,WIP/1.nonworking/homedecor_censorship/depends.txt → etc/Mods,WIP-nonworking/homedecor_censorship/depends.txt

0
etc/Mods,WIP/1.nonworking/homedecor_censorship/init.lua → etc/Mods,WIP-nonworking/homedecor_censorship/init.lua

16
etc/change_hardcoded_world_name_first/game-install-ENLIVEN

@ -11,16 +11,6 @@
# * Git version uses /home/*/minetest/games and /usr/local/share/minetest/games but the latter is used for minetestserver (minetest-server package)
# Known Issues:
# * Must do the following if runs twice (run a third time to fix it):
if [ -d /usr/share/minetest/games/ENLIVEN/mods/3d_armor/minetest-3d_armor-master ]; then
rm -Rf /usr/share/minetest/games/ENLIVEN/mods/3d_armor
fi
if [ -d /usr/share/minetest/games/ENLIVEN/mods/3d_armor/minetest-3d_armor-master ]; then
rm -Rf /usr/share/minetest/games/ENLIVEN/mods/3d_armor
fi
if [ -d /usr/share/minetest/games/ENLIVEN/mods/plantlife_modpack/plantlife_modpack-master ]; then
rm -Rf /usr/share/minetest/games/ENLIVEN/mods/plantlife_modpack
fi
Uberi=`ls /usr/share/minetest/games/ENLIVEN/mods/worldedit | grep Uberi`
if [ ! -z "$Uberi" ]; then
# /usr/share/minetest/games/ENLIVEN/mods/worldedit/Uberi-Minetest-WorldEdit-3322ef9
@ -748,6 +738,9 @@ MTMOD_DEST_PATH=$MT_MYGAME_MODS_PATH/$MTMOD_DEST_NAME
if [ -d "$MTMOD_UNZ_NAME" ]; then
rm -Rf "$MTMOD_UNZ_NAME"
fi
if [ -d "$MTMOD_DEST_PATH" ]; then
rm -Rf "$MTMOD_DEST_PATH"
fi
if [ -f "$MTMOD_DL_ZIP" ]; then
rm -f "$MTMOD_DL_ZIP"
fi
@ -868,6 +861,9 @@ MTMOD_DEST_PATH=$MT_MYGAME_MODS_PATH/$MTMOD_DEST_NAME
if [ -d "$MTMOD_UNZ_NAME" ]; then
rm -Rf "$MTMOD_UNZ_NAME"
fi
if [ -d "$MTMOD_DEST_PATH" ]; then
rm -Rf "$MTMOD_DEST_PATH"
fi
if [ -f "$MTMOD_DL_ZIP" ]; then
rm -f "$MTMOD_DL_ZIP"
fi

Loading…
Cancel
Save