aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authornemsia <nemsia@nemsia.org>2017-04-10 11:10:24 +0200
committerGitHub <noreply@github.com>2017-04-10 11:10:24 +0200
commitbbdb5bf40cee75a0875e3d7339413d7854c5c08d (patch)
tree824c6971b45f79e8f0c984ba37a646398dd11945 /scripts
parent64e013a56708149e97f1731a36b3cdc2dd246427 (diff)
downloadmastodon_ynh-bbdb5bf40cee75a0875e3d7339413d7854c5c08d.tar.gz
mastodon_ynh-bbdb5bf40cee75a0875e3d7339413d7854c5c08d.tar.bz2
mastodon_ynh-bbdb5bf40cee75a0875e3d7339413d7854c5c08d.zip
Sudo on git clone
Diffstat (limited to 'scripts')
-rw-r--r--scripts/install6
1 files 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