1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/mastodon_ynh.git synced 2024-09-03 19:46:02 +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
sudo su - $app <<COMMANDS
pushd ~/live
cd live
git fetch
git pull https://github.com/tootsuite/mastodon.git master
git checkout $(git tag | tail -n 1)