worldmods update script

master
Thomas Rudin 2019-08-25 12:20:53 +02:00
parent d13a2b9aaa
commit e879aa3db3
1 changed files with 12 additions and 0 deletions

12
update-worldmods.sh Executable file
View File

@ -0,0 +1,12 @@
#!/bin/sh
cd data/minetest/world/worldmods
git remote update
git diff --exit-code HEAD origin/master && exit 0
git pull
git submodule init
git submodule sync
git submodule update