diff --git a/post-update.sh b/post-update.sh index 6fee1bb..0d899be 100644 --- a/post-update.sh +++ b/post-update.sh @@ -29,3 +29,4 @@ if [ -f "$HOME/chunkymap/web/chunkymap.php" ]; then #--no-clobber: do not overwrite existing fi fi +cp -f "$CHUNKYMAP_INSTALLER_DIR/update-chunkymap-on-ubuntu-from-web.sh" "$HOME/" diff --git a/update-chunkymap-installer-only.sh b/update-chunkymap-installer-only.sh index b988edf..5965ccc 100644 --- a/update-chunkymap-installer-only.sh +++ b/update-chunkymap-installer-only.sh @@ -36,4 +36,4 @@ chmod +x "$CHUNKYMAP_INSTALLER_DIR/update-chunkymap-installer-only.sh" chmod +x "$CHUNKYMAP_INSTALLER_DIR/update-chunkymap-on-ubuntu-from-web.sh" #mv -f "$CHUNKYMAP_INSTALLER_DIR/install-chunkymap-on-ubuntu.sh" "$HOME/Downloads/" -cp -f "$CHUNKYMAP_INSTALLER_DIR/update-chunkymap-on-ubuntu-from-web.sh" "$HOME/" +#DON'T copy cp -f "$CHUNKYMAP_INSTALLER_DIR/update-chunkymap-on-ubuntu-from-web.sh" "$HOME/" yet, since may be running (see post-update.sh instead)