Browse Source

reduced unecessary installer cannot stat warnings

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

4
update-chunkymap-installer-only.sh

@ -7,7 +7,9 @@ if [ ! -d "$HOME/Downloads" ]; then
fi fi
cd $HOME/Downloads cd $HOME/Downloads
rm master.zip if [ -f master.zip ]; then
rm master.zip
fi
wget https://github.com/expertmm/minetest-chunkymap/archive/master.zip wget https://github.com/expertmm/minetest-chunkymap/archive/master.zip
rm -f minetest-chunkymap.zip rm -f minetest-chunkymap.zip
mv master.zip minetest-chunkymap.zip mv master.zip minetest-chunkymap.zip

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

@ -9,7 +9,10 @@ fi
#cd $CHUNKYMAP_INSTALLER_DIR #cd $CHUNKYMAP_INSTALLER_DIR
chmod +x update-chunkymap-installer-only.sh chmod +x update-chunkymap-installer-only.sh
cd $HOME/Downloads cd $HOME/Downloads
mv -f update-chunkymap-installer-only.sh "$CHUNKYMAP_INSTALLER_DIR/update-chunkymap-installer-only.sh" if [ -f "update-chunkymap-installer-only.sh" ]; then
# move misplaced file from older versions:
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" sh "$CHUNKYMAP_INSTALLER_DIR/update-chunkymap-installer-only.sh"
#./install-chunkymap-on-ubuntu.sh #./install-chunkymap-on-ubuntu.sh
chmod +x "$CHUNKYMAP_INSTALLER_DIR/install-chunkymap-on-ubuntu.sh" chmod +x "$CHUNKYMAP_INSTALLER_DIR/install-chunkymap-on-ubuntu.sh"

Loading…
Cancel
Save