diff options
| author | nemsia <nemsia@nemsia.org> | 2017-05-06 19:55:02 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-05-06 19:55:02 +0200 |
| commit | daf425f070c906165fee06ec479c4bfeaabe88e9 (patch) | |
| tree | 3793d24c94455c7c5de1cf053661e0b581736a28 | |
| parent | 38c3ccc75f0e9db73be0b0a0867456b3400ec294 (diff) | |
| download | mastodon_ynh-daf425f070c906165fee06ec479c4bfeaabe88e9.tar.gz mastodon_ynh-daf425f070c906165fee06ec479c4bfeaabe88e9.tar.bz2 mastodon_ynh-daf425f070c906165fee06ec479c4bfeaabe88e9.zip | |
Update upgrade
| -rw-r--r-- | scripts/upgrade | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/upgrade b/scripts/upgrade index 28c3e3c..672900f 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -40,7 +40,8 @@ sudo systemctl stop mastodon-*.service # Download Mastodon sudo su - $app <<PULLCOMMANDS pushd ~/live -# git fetch +git fetch +git reset --hard origin/master git pull https://github.com/tootsuite/mastodon.git master PULLCOMMANDS |
