Go to file
Nathan Salapat 59716424c6 Create credits.txt 2014-10-09 17:06:22 -05:00
LICENSE Initial commit 2014-10-07 08:53:09 -05:00
README.md Minor Updates 2014-10-09 16:30:25 -05:00
credits.txt Create credits.txt 2014-10-09 17:06:22 -05:00
update.sh Remove unnecessary asking as there is a switch 2014-10-09 20:17:11 +04:00

README.md

Minetest_Mods_Updater

A bash script for LINUX that automatically updates your minetest mods

To use, create a directory where you will put all your git cloned folders for mods. Git Clone the mods into said folder. Add Update.sh to that folder, and change the permissions to be executable, if needed. Change the rsync locations to be the location you are git cloning into and your mods directory. To update your mods just run the script, or create a cron job to execute the script for you. I personally have it run every morning at four am.

The script now calls another script, which needs to be located in ~/.minetest/mods and called rename.sh Sample script for the rename script: rm -rf mesecons mv minetest-mod-mesecons mesecons

Just duplicate these two lines as you need to. The first line deletes the original folder, and the second renames the folder from GIT to the name the mod needs.