diff --git a/update-worldmods.sh b/update-worldmods.sh new file mode 100755 index 0000000..9aa62a8 --- /dev/null +++ b/update-worldmods.sh @@ -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 +