From 5664362ed39e7b4a374309955e053d6d0c587118 Mon Sep 17 00:00:00 2001 From: poikilos <7557867+poikilos@users.noreply.github.com> Date: Tue, 22 Mar 2016 16:17:57 -0400 Subject: [PATCH] fixing updater --- post-update.sh | 1 + update-chunkymap-installer-only.sh | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) 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)