1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/glitchsoc_ynh.git synced 2024-09-03 19:15:59 +02:00

[fix] Replace pushd by cd on upgrade

This commit is contained in:
nemsia 2017-04-28 11:42:08 +02:00
parent 4f7830b595
commit 2aedf332e7

View file

@ -39,7 +39,7 @@ sudo systemctl stop mastodon-*.service
# Update Mastodon # Update Mastodon
sudo su - $app <<COMMANDS sudo su - $app <<COMMANDS
pushd ~/live cd live
git fetch git fetch
git pull https://github.com/tootsuite/mastodon.git master git pull https://github.com/tootsuite/mastodon.git master
git checkout $(git tag | tail -n 1) git checkout $(git tag | tail -n 1)