From 79f620fc4ea5c7a9f3afc96c964a7087316a1d53 Mon Sep 17 00:00:00 2001 From: nemsia Date: Tue, 11 Apr 2017 15:00:05 +0200 Subject: [PATCH] Mkdir live not need --- scripts/install | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/scripts/install b/scripts/install index 4d215bd..b324893 100644 --- a/scripts/install +++ b/scripts/install @@ -79,17 +79,19 @@ sudo su -c "psql" postgres <<< \ ynh_psql_create_db_without_password "$app" # Download all Ruby source +su - mastodon 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 # Be king rewind (/var/cache/yunohost/from_file/scripts) popd # Get Mastodon last version -sudo mkdir "${final_path}/live" -SETUP_SOURCE -sudo chown -R $app: "${final_path}" +# sudo mkdir "${final_path}/live" +# SETUP_SOURCE +# sudo chown -R $app: "${final_path}" # Install de rbenv sudo su - $app <