Browse Source

Change the directory name for clarity.

master
poikilos 1 year ago
parent
commit
93e1830573
  1. 4
      utilities/install-lmk
  2. 12
      utilities/pull-lmk

4
utilities/install-lmk

@ -11,7 +11,7 @@ trolltest (or troll) to install ~/trolltest-rsync (based on MT5).
Options:
--from <built dir> Install from this directory. Defaults to
"$HOME/linux-minetest-kit-rsync/mtkit/minetest".
"$HOME/minebest-rsync/mtkit/minetest".
--server Require a binary ending with "server" to be
present in built dir. Defaults to False.
--client Require a binary ending with "server" to be
@ -43,7 +43,7 @@ if sys.version_info.major < 3:
ModuleNotFoundError = ImportError
INSTALL_SRC = os.path.join(HOME, "linux-minetest-kit-rsync", "mtkit", "minetest")
INSTALL_SRC = os.path.join(HOME, "minebest-rsync", "mtkit", "minetest")
VARIANT = "rsync"
MINETEST_KEYWORDS = ("sandbox;world;mining;crafting;blocks;nodes;multiplayer;"

12
utilities/pull-lmk

@ -1,21 +1,21 @@
#!/bin/bash
rsync -rtv mtio:/opt/minebest/ ~/linux-minetest-kit-rsync --exclude "mtkit/minetest/" --exclude "assemble/" --exclude "mtkit0/"
rsync -rtv mtio:/opt/minebest/ ~/minebest-rsync --exclude "mtkit/minetest/" --exclude "assemble/" --exclude "mtkit0/"
# ^ exclude mtkit/minetest/ and assemble/ since they are remotely-built copies of the program.
# --info=progress2
code=$?
if [ $code -eq 0 ]; then
echo "Updating ~/linux-minetest-kit-rsync...OK"
echo "Updating ~/minebest-rsync...OK"
else
echo "Updating ~/linux-minetest-kit-rsync...FAILED"
echo "Updating ~/minebest-rsync...FAILED"
fi
cd ~/linux-minetest-kit-rsync
cd ~/minebest-rsync
cat <<END
Next do:
cd ~/linux-minetest-kit-rsync/mtkit
cd ~/minebest-rsync/mtkit
bash -e mtcompile-libraries.sh build
perl mtcompile-program.pl --build --finetest --client
cd ~/linux-minetest-kit-rsync/mtkit/minetest/bin
cd ~/minebest-rsync/mtkit/minetest/bin
nopackage install finetest --version rsync --caption "Finetest (rsync)"
END

Loading…
Cancel
Save