Browse Source

ensuring updater is updated first

master
poikilos 9 years ago
committed by Jacob Gustafson
parent
commit
c91da826c1
  1. 3
      README.md
  2. 9
      update-chunkymap-on-ubuntu-from-web.sh

3
README.md

@ -83,7 +83,8 @@ world_path
* Install the git version of minetest (or otherwise install 0.4.13 or other version compatible with the map generators used by chunkymap)
such as:
#if you have a version before 2016-03-23:
wget
wget https://github.com/expertmm/minetest-chunkymap/raw/master/rename-deprecated.sh
sh rename-deprecated.sh
wget https://github.com/expertmm/minetest-chunkymap/raw/master/install-chunkymap-on-ubuntu-from-web.sh
chmod +x install-chunkymap-on-ubuntu-from-web.sh

9
update-chunkymap-on-ubuntu-from-web.sh

@ -1,14 +1,17 @@
#!/bin/sh
cd $HOME
if [ -d "$HOME/minetest-stuff/minetest-chunkymap" ]; then
rm -Rf $HOME/minetest-stuff/minetest-chunkymap
fi
CHUNKYMAP_INSTALLER_DIR=$HOME/Downloads/minetest-chunkymap
CHUNKYMAP_DEST=$HOME/chunkymap
if [ ! -d "$HOME/Downloads" ]; then
mkdir "$HOME/Downloads"
fi
cd "$CHUNKYMAP_DEST"
rm update-chunkymap-installer-only.sh
wget https://github.com/expertmm/minetest-chunkymap/blob/master/update-chunkymap-installer-only.sh
#Wait to make sure nothing weirdly not finished downloading:
sleep .2
cd $HOME
#cd $CHUNKYMAP_INSTALLER_DIR
#chmod +x update-chunkymap-installer-only.sh
#cd $CHUNKYMAP_DEST

Loading…
Cancel
Save