From bbdb5bf40cee75a0875e3d7339413d7854c5c08d Mon Sep 17 00:00:00 2001 From: nemsia Date: Mon, 10 Apr 2017 11:10:24 +0200 Subject: [PATCH] Sudo on git clone --- scripts/install | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/install b/scripts/install index 805560a..14aee5a 100644 --- a/scripts/install +++ b/scripts/install @@ -76,9 +76,9 @@ ynh_psql_create_db "$dbname" "$dbuser" "$dbpass" # Download all Ruby source sudo 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 -git clone git://github.com/dcarley/rbenv-sudo.git $final_path/.rbenv/plugins/rbenv-sudo +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 +sudo git clone git://github.com/dcarley/rbenv-sudo.git $final_path/.rbenv/plugins/rbenv-sudo sudo chown -R $app: "${final_path}" # Install de rbenv