Browse Source

working on installer

master
poikilos 9 years ago
committed by Jacob Gustafson
parent
commit
7e3a3ae1fe
  1. 4
      install-chunkymap-on-ubuntu-from-web.sh
  2. 4
      install-chunkymap-on-ubuntu.sh
  3. 6
      update-chunkymap-installer-only.sh
  4. 4
      update-chunkymap-on-ubuntu-from-web.sh

4
install-chunkymap-on-ubuntu-from-web.sh

@ -2,8 +2,8 @@
cd ~ cd ~
rm -Rf ~/minetest-stuff/minetest-chunkymap rm -Rf ~/minetest-stuff/minetest-chunkymap
CHUNKYMAP_INSTALLER_DIR=~/Downloads/minetest-chunkymap CHUNKYMAP_INSTALLER_DIR=~/Downloads/minetest-chunkymap
if [ ! -d "~/Downloads" ]; then if [ ! -d "$HOME/Downloads" ]; then
mkdir "~/Downloads" mkdir "$HOME/Downloads"
fi fi
chmod +x update-chunkymap-installer-only.sh chmod +x update-chunkymap-installer-only.sh

4
install-chunkymap-on-ubuntu.sh

@ -2,8 +2,8 @@
cd ~ cd ~
rm -Rf ~/minetest-stuff/minetest-chunkymap rm -Rf ~/minetest-stuff/minetest-chunkymap
CHUNKYMAP_INSTALLER_DIR=~/Downloads/minetest-chunkymap CHUNKYMAP_INSTALLER_DIR=~/Downloads/minetest-chunkymap
if [ ! -d "~/Downloads" ]; then if [ ! -d "$HOME/Downloads" ]; then
mkdir "~/Downloads" mkdir "$HOME/Downloads"
fi fi
MINETEST_UTIL=$HOME/minetest/util MINETEST_UTIL=$HOME/minetest/util

6
update-chunkymap-installer-only.sh

@ -2,8 +2,8 @@
cd ~ cd ~
rm -Rf ~/minetest-stuff/minetest-chunkymap rm -Rf ~/minetest-stuff/minetest-chunkymap
CHUNKYMAP_INSTALLER_DIR=~/Downloads/minetest-chunkymap CHUNKYMAP_INSTALLER_DIR=~/Downloads/minetest-chunkymap
if [ ! -d "~/Downloads" ]; then if [ ! -d "$HOME/Downloads" ]; then
mkdir "~/Downloads" mkdir "$HOME/Downloads"
fi fi
cd ~/Downloads cd ~/Downloads
@ -22,5 +22,5 @@ chmod +x "$CHUNKYMAP_INSTALLER_DIR/update-chunkymap-installer-only.sh"
chmod +x "$CHUNKYMAP_INSTALLER_DIR/update-chunkymap-on-ubuntu-from-web.sh" chmod +x "$CHUNKYMAP_INSTALLER_DIR/update-chunkymap-on-ubuntu-from-web.sh"
#mv -f "$CHUNKYMAP_INSTALLER_DIR/install-chunkymap-on-ubuntu.sh" "~/Downloads/" #mv -f "$CHUNKYMAP_INSTALLER_DIR/install-chunkymap-on-ubuntu.sh" "~/Downloads/"
mv -f "$CHUNKYMAP_INSTALLER_DIR/update-chunkymap-on-ubuntu-from-web.sh" "~/Downloads/" mv -f "$CHUNKYMAP_INSTALLER_DIR/update-chunkymap-on-ubuntu-from-web.sh" "~/"

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

@ -2,8 +2,8 @@
cd ~ cd ~
rm -Rf ~/minetest-stuff/minetest-chunkymap rm -Rf ~/minetest-stuff/minetest-chunkymap
CHUNKYMAP_INSTALLER_DIR=~/Downloads/minetest-chunkymap CHUNKYMAP_INSTALLER_DIR=~/Downloads/minetest-chunkymap
if [ ! -d "~/Downloads" ]; then if [ ! -d "$HOME/Downloads" ]; then
mkdir "~/Downloads" mkdir "$HOME/Downloads"
fi fi
#cd $CHUNKYMAP_INSTALLER_DIR #cd $CHUNKYMAP_INSTALLER_DIR

Loading…
Cancel
Save