From 3a2f559174308a6488bc875f42b28f1d18d3a008 Mon Sep 17 00:00:00 2001 From: nemsia Date: Sun, 30 Apr 2017 14:13:44 +0200 Subject: [PATCH] [enh] cd $final_path --- scripts/upgrade | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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