mirror of
https://github.com/YunoHost-Apps/mastodon_ynh.git
synced 2024-09-03 19:46:02 +02:00
[fix] Install tagged release
This commit is contained in:
parent
9d73a23ac8
commit
3a93656160
1 changed files with 3 additions and 2 deletions
|
@ -82,12 +82,13 @@ sudo su -c "psql" postgres <<< \
|
|||
ynh_psql_create_db_without_password "$app"
|
||||
sudo systemctl restart postgresql
|
||||
|
||||
# Download all Ruby source
|
||||
# Download all sources rbenv, ruby and mastodon
|
||||
pushd $final_path/live
|
||||
sudo su - $app <<CLONECOMMANDS
|
||||
git clone https://github.com/rbenv/rbenv.git $final_path/.rbenv
|
||||
git clone https://github.com/rbenv/ruby-build.git $final_path/.rbenv/plugins/ruby-build
|
||||
git clone https://github.com/tootsuite/mastodon.git $final_path/live
|
||||
cd $final_path/live
|
||||
pushd $final_path/live
|
||||
git checkout $(git tag | tail -n 1)
|
||||
CLONECOMMANDS
|
||||
|
||||
|
|
Loading…
Reference in a new issue