Browse Source

fixing installer shell script bugs

master
poikilos 9 years ago
committed by Jacob Gustafson
parent
commit
c810676b2f
  1. 2
      update-chunkymap-installer-only.sh
  2. 2
      update-chunkymap-on-ubuntu-from-web.sh

2
update-chunkymap-installer-only.sh

@ -28,7 +28,7 @@ unzip minetest-chunkymap.zip
if [ -d "$CHUNKYMAP_INSTALLER_DIR" ]; then
rm -Rf "$CHUNKYMAP_INSTALLER_DIR"
fi
mv "$HOME/Downloads/minetest-chunkymap-master" "$CHUNKYMAP_INSTALLER_DIR"
mv "$HOME/Downloads/minetest-chunkymap-master" "$HOME/Downloads/minetest-chunkymap"
#cd minetest-chunkymap
chmod +x "$CHUNKYMAP_INSTALLER_DIR/install-chunkymap-on-ubuntu.sh"

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

@ -17,7 +17,7 @@ fi
#mv -f update-chunkymap-installer-only.sh "$CHUNKYMAP_INSTALLER_DIR/update-chunkymap-installer-only.sh"
#fi
#sh "$CHUNKYMAP_INSTALLER_DIR/update-chunkymap-installer-only.sh"
if [ -d "$CHUNKYMAP_DEST/update-chunkymap-installer-only.sh" ]; then
if [ -f "$CHUNKYMAP_DEST/update-chunkymap-installer-only.sh" ]; then
sh "$CHUNKYMAP_DEST/update-chunkymap-installer-only.sh"
else
sh "$CHUNKYMAP_INSTALLER_DIR/update-chunkymap-installer-only.sh"

Loading…
Cancel
Save