diff options
| author | nemsia <nemsia@nemsia.org> | 2017-04-30 14:07:59 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-04-30 14:07:59 +0200 |
| commit | e3e4ee08e5af3e5b21e8a85362e95f8871dd4a9a (patch) | |
| tree | 5ec5f722602ce1ef1220fd7e07a20150cc7cea9c /scripts | |
| parent | 4aa9a1d170740b46e8b60b89dc75afd69f0ce414 (diff) | |
| download | mastodon_ynh-e3e4ee08e5af3e5b21e8a85362e95f8871dd4a9a.tar.gz mastodon_ynh-e3e4ee08e5af3e5b21e8a85362e95f8871dd4a9a.tar.bz2 mastodon_ynh-e3e4ee08e5af3e5b21e8a85362e95f8871dd4a9a.zip | |
[fix] Change pushd to cd on upgrade
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 d1f985e..c9adc9d 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 -pushd /opt/mastodon/live +cd /opt/mastodon/live sudo git checkout $(git tag | tail -n 1) # Apply Mastodon upgrade |
