aboutsummaryrefslogtreecommitdiff
path: root/scripts/install
diff options
context:
space:
mode:
authornemsia <nemsia@nemsia.org>2017-04-11 15:20:55 +0200
committerGitHub <noreply@github.com>2017-04-11 15:20:55 +0200
commit6d62b24181b9d2964f441b211490ccf7c29e3b67 (patch)
treecea843c5fc0791992398c641d095a11745481994 /scripts/install
parentfa3421c3cdd5bff36dfbeee356d8b4221c4ac2ef (diff)
downloadmastodon_ynh-6d62b24181b9d2964f441b211490ccf7c29e3b67.tar.gz
mastodon_ynh-6d62b24181b9d2964f441b211490ccf7c29e3b67.tar.bz2
mastodon_ynh-6d62b24181b9d2964f441b211490ccf7c29e3b67.zip
Update install
Diffstat (limited to 'scripts/install')
-rw-r--r--scripts/install10
1 files changed, 5 insertions, 5 deletions
diff --git a/scripts/install b/scripts/install
index e968b7d..c1da21f 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 - $app <<WCOMMANDS
-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
-WCOMMANDS
+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
+CLONECOMMANDS
# Be king rewind (/var/cache/yunohost/from_file/scripts)
popd