diff options
| -rw-r--r-- | scripts/install | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/install b/scripts/install index df33c1e..aa4bd68 100644 --- a/scripts/install +++ b/scripts/install @@ -79,11 +79,11 @@ sudo su -c "psql" postgres <<< \ ynh_psql_create_db_without_password "$app" # Download all Ruby source -sudo su - mastodon +sudo su - $app <<CLONECOMMANDS sudo git clone https://github.com/rbenv/rbenv.git $final_path/.rbenv sudo git clone https://github.com/rbenv/ruby-build.git $final_path/.rbenv/plugins/ruby-build sudo git clone https://github.com/tootsuite/mastodon.git $final_path/live -exit +CLONECOMMANDS # Be king rewind (/var/cache/yunohost/from_file/scripts) popd |
