Browse Source

more renaming

master
poikilos 9 years ago
committed by Jacob Gustafson
parent
commit
7cc6b8e63b
  1. 3
      install-chunkymap-on-ubuntu-from-web.sh
  2. 4
      install-chunkymap-on-ubuntu.sh
  3. 5
      rename-deprecated.sh

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

@ -1,8 +1,5 @@
#!/bin/sh #!/bin/sh
cd $HOME 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_INSTALLER_DIR=$HOME/Downloads/minetest-chunkymap
if [ ! -d "$HOME/Downloads" ]; then if [ ! -d "$HOME/Downloads" ]; then
mkdir "$HOME/Downloads" mkdir "$HOME/Downloads"

4
install-chunkymap-on-ubuntu.sh

@ -1,10 +1,6 @@
#!/bin/sh #!/bin/sh
cd $HOME cd $HOME
MT_MY_WEBSITE_PATH=/var/www/html/minetest MT_MY_WEBSITE_PATH=/var/www/html/minetest
if [ -d "$HOME/minetest-stuff/minetest-chunkymap" ]; then
#remove deprecated path:
rm -Rf $HOME/minetest-stuff/minetest-chunkymap
fi
CHUNKYMAP_INSTALLER_PATH=$HOME/Downloads/minetest-chunkymap CHUNKYMAP_INSTALLER_PATH=$HOME/Downloads/minetest-chunkymap
if [ ! -d "$HOME/Downloads/minetest-chunkymap" ]; then if [ ! -d "$HOME/Downloads/minetest-chunkymap" ]; then
echo "please run install-chunkymap-on-ubuntu-from-web.sh or update-chunkymap-installer-only.sh first."; echo "please run install-chunkymap-on-ubuntu-from-web.sh or update-chunkymap-installer-only.sh first.";

5
rename-deprecated.sh

@ -13,6 +13,11 @@ else
cp -f "$CHUNKYMAP_DEPRECATED_PATH/colors.txt" "$CHUNKYMAP_DEST_PATH/colors (base).txt" cp -f "$CHUNKYMAP_DEPRECATED_PATH/colors.txt" "$CHUNKYMAP_DEST_PATH/colors (base).txt"
fi fi
if [ -d "$HOME/minetest-stuff/minetest-chunkymap" ]; then
#remove deprecated path:
rm -Rf $HOME/minetest-stuff/minetest-chunkymap
fi
mv "$CHUNKYMAP_DEPRECATED_PATH/web" "$CHUNKYMAP_DEST_PATH/web" mv "$CHUNKYMAP_DEPRECATED_PATH/web" "$CHUNKYMAP_DEST_PATH/web"
mv "$CHUNKYMAP_DEPRECATED_PATH/unused" "$CHUNKYMAP_DEST_PATH/unused" mv "$CHUNKYMAP_DEPRECATED_PATH/unused" "$CHUNKYMAP_DEST_PATH/unused"
mv "$CHUNKYMAP_DEPRECATED_PATH/chunkymap-genresults" "$CHUNKYMAP_DEST_PATH/chunkymap-genresults" mv "$CHUNKYMAP_DEPRECATED_PATH/chunkymap-genresults" "$CHUNKYMAP_DEST_PATH/chunkymap-genresults"

Loading…
Cancel
Save