diff --git a/scripts/install b/scripts/install index 263a8dd..b36c8f2 100644 --- a/scripts/install +++ b/scripts/install @@ -90,7 +90,7 @@ git clone https://github.com/tootsuite/mastodon.git $final_path/live CLONECOMMANDS # Switch to tagged release -pushd $final_path/live +cd $final_path/live sudo git checkout $(git tag | tail -n 1) # Be king rewind (/var/cache/yunohost/from_file/scripts)