diff --git a/update-chunkymap-installer-only.sh b/update-chunkymap-installer-only.sh index 3a19a52..b988edf 100644 --- a/update-chunkymap-installer-only.sh +++ b/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" diff --git a/update-chunkymap-on-ubuntu-from-web.sh b/update-chunkymap-on-ubuntu-from-web.sh index a299922..7a409f8 100644 --- a/update-chunkymap-on-ubuntu-from-web.sh +++ b/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"