Browse Source

move variables together for easy terminal pasting

master
poikilos 7 years ago
committed by Jacob Gustafson
parent
commit
bdf79689d4
  1. 2
      etc/minetestserver-update-from-git.sh

2
etc/minetestserver-update-from-git.sh

@ -32,11 +32,11 @@ if [ -d "$HOME/Downloads/minetest" ]; then
sudo make install
USR_SHARE_MINETEST="/usr/local/share/minetest"
MT_GAMES_DIR="$USR_SHARE_MINETEST/games"
MT_MYGAME_DIR="$MT_GAMES_DIR/ENLIVEN"
if [ -d "$MT_GAMES_DIR/minetest_game" ]; then
if [ ! -d "$MT_GAMES_DIR/minetest_game" ]; then
sudo mkdir -p "$MT_GAMES_DIR/minetest_game"
fi
MT_MYGAME_DIR="$MT_GAMES_DIR/ENLIVEN"
if [ -d "$MT_MYGAME_DIR" ]; then
echo "updating "
sudo rsync -rtv "$HOME/Downloads/minetest/games/minetest_game/mods/" "$MT_MYGAME_DIR/mods/"

Loading…
Cancel
Save