Browse Source

patch 0.5.0 bones correctly

master
poikilos 7 years ago
committed by Jacob Gustafson
parent
commit
0b2e29d27c
  1. 5
      etc/game-install-ENLIVEN

5
etc/game-install-ENLIVEN

@ -1080,16 +1080,17 @@ fi
TRY_DIFF="`diff $BASIS_PATH $TARGET_PATH`" TRY_DIFF="`diff $BASIS_PATH $TARGET_PATH`"
if [ -z "$TRY_DIFF" ]; then if [ -z "$TRY_DIFF" ]; then
sudo cp -f $MODIFIED_PATH "$MT_MYGAME_DIR/mods/bones/" sudo cp -f $MODIFIED_PATH "$MT_MYGAME_DIR/mods/bones/"
echo "done attempting to patch $MTMOD_DEST_PATH/" echo "done attempting to patch $MTMOD_DEST_PATH/ with $MODIFIED_PATH"
else else
BASIS_PATH=$PATCHES_PATH/subgame-basis/mods/bones/init-0.5.0-dev.lua BASIS_PATH=$PATCHES_PATH/subgame-basis/mods/bones/init-0.5.0-dev.lua
MODIFIED_PATH=$PATCHES_PATH/subgame/mods/bones/init-0.5.0-dev.lua
TRY_DIFF="`diff $BASIS_PATH $TARGET_PATH`" TRY_DIFF="`diff $BASIS_PATH $TARGET_PATH`"
if [ -z "$TRY_DIFF" ]; then if [ -z "$TRY_DIFF" ]; then
sudo cp -f $MODIFIED_PATH "$MT_MYGAME_DIR/mods/bones/init.lua" sudo cp -f $MODIFIED_PATH "$MT_MYGAME_DIR/mods/bones/init.lua"
echo "patched $MT_MYGAME_DIR/mods/bones/init.lua" echo "patched $MT_MYGAME_DIR/mods/bones/init.lua"
else else
TRY_DONE_DIFF="`diff $MODIFIED_PATH $TARGET_PATH`" TRY_DONE_DIFF="`diff $MODIFIED_PATH $TARGET_PATH`"
echo "ALREADY patched $MTMOD_DEST_NAME." echo "ALREADY patched $MTMOD_DEST_NAME with $BASIS_PATH."
fi fi
fi fi
BASIS_PATH=$PATCHES_PATH/subgame-basis/mods/homedecor_modpack/homedecor/gastronomy.lua BASIS_PATH=$PATCHES_PATH/subgame-basis/mods/homedecor_modpack/homedecor/gastronomy.lua

Loading…
Cancel
Save