How I keep Luanti mods updated
Some of my mods for my game server of Luanti come from various git scm sources, and some just from ContentDB. I don't update the ContentDB ones during regular maintenance. I might spot update them, but mostly I switch them to git when I want to make some changes.
cd ~/.minetest/mods for word in $( find */.git -maxdepth 0 -printf '%h\n' ) ; do ( cd "${word}" ; git fetch ; git status | sed -r -e "s@^@${word}: @" ; ) ; done
For regular maintenance, I visit just pull down all the info for each git remote and then I visit any that report they are behind, and manually git pull.
Sure, it's manual, but updates to applications should be reviewed by a human and not just blindly applied.
Comments