aboutsummaryrefslogtreecommitdiff
path: root/scripts/upgrade
diff options
context:
space:
mode:
authornemsia <nemsia@nemsia.org>2017-05-06 19:55:02 +0200
committerGitHub <noreply@github.com>2017-05-06 19:55:02 +0200
commitdaf425f070c906165fee06ec479c4bfeaabe88e9 (patch)
tree3793d24c94455c7c5de1cf053661e0b581736a28 /scripts/upgrade
parent38c3ccc75f0e9db73be0b0a0867456b3400ec294 (diff)
downloadmastodon_ynh-daf425f070c906165fee06ec479c4bfeaabe88e9.tar.gz
mastodon_ynh-daf425f070c906165fee06ec479c4bfeaabe88e9.tar.bz2
mastodon_ynh-daf425f070c906165fee06ec479c4bfeaabe88e9.zip
Update upgrade
Diffstat (limited to 'scripts/upgrade')
-rw-r--r--scripts/upgrade3
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