diff options
| author | nemsia <nemsia@nemsia.org> | 2017-04-30 14:13:44 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-04-30 14:13:44 +0200 |
| commit | 3a2f559174308a6488bc875f42b28f1d18d3a008 (patch) | |
| tree | d2114b35278f36d511b02400ed28260275fb4bbc /scripts | |
| parent | e3e4ee08e5af3e5b21e8a85362e95f8871dd4a9a (diff) | |
| download | mastodon_ynh-3a2f559174308a6488bc875f42b28f1d18d3a008.tar.gz mastodon_ynh-3a2f559174308a6488bc875f42b28f1d18d3a008.tar.bz2 mastodon_ynh-3a2f559174308a6488bc875f42b28f1d18d3a008.zip | |
[enh] cd $final_path
Diffstat (limited to 'scripts')
| -rw-r--r-- | scripts/upgrade | 2 |
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 |
