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:
parent
4f7830b595
commit
2aedf332e7
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue