|
|
@ -1080,16 +1080,17 @@ fi |
|
|
|
TRY_DIFF="`diff $BASIS_PATH $TARGET_PATH`" |
|
|
|
if [ -z "$TRY_DIFF" ]; then |
|
|
|
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 |
|
|
|
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`" |
|
|
|
if [ -z "$TRY_DIFF" ]; then |
|
|
|
sudo cp -f $MODIFIED_PATH "$MT_MYGAME_DIR/mods/bones/init.lua" |
|
|
|
echo "patched $MT_MYGAME_DIR/mods/bones/init.lua" |
|
|
|
else |
|
|
|
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 |
|
|
|
BASIS_PATH=$PATCHES_PATH/subgame-basis/mods/homedecor_modpack/homedecor/gastronomy.lua |
|
|
|