aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornemsia <nemsia@nemsia.org>2017-04-30 14:13:44 +0200
committerGitHub <noreply@github.com>2017-04-30 14:13:44 +0200
commit3a2f559174308a6488bc875f42b28f1d18d3a008 (patch)
treed2114b35278f36d511b02400ed28260275fb4bbc
parente3e4ee08e5af3e5b21e8a85362e95f8871dd4a9a (diff)
downloadmastodon_ynh-3a2f559174308a6488bc875f42b28f1d18d3a008.tar.gz
mastodon_ynh-3a2f559174308a6488bc875f42b28f1d18d3a008.tar.bz2
mastodon_ynh-3a2f559174308a6488bc875f42b28f1d18d3a008.zip
[enh] cd $final_path
-rw-r--r--scripts/upgrade2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/upgrade b/scripts/upgrade
index c9adc9d..ab4bf58 100644
--- a/scripts/upgrade
+++ b/scripts/upgrade
@@ -45,7 +45,7 @@ git pull https://github.com/tootsuite/mastodon.git master
PULLCOMMANDS
# Switch branch to tagged release
-cd /opt/mastodon/live
+cd $final_path/live
sudo git checkout $(git tag | tail -n 1)
# Apply Mastodon upgrade