aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--scripts/upgrade2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/upgrade b/scripts/upgrade
index 655f22f..076e3fb 100644
--- a/scripts/upgrade
+++ b/scripts/upgrade
@@ -39,7 +39,7 @@ sudo systemctl stop mastodon-*.service
# Update Mastodon
sudo su - $app <<COMMANDS
-pushd ~/live
+cd live
git fetch
git pull https://github.com/tootsuite/mastodon.git master
git checkout $(git tag | tail -n 1)