aboutsummaryrefslogtreecommitdiff
path: root/scripts/install
diff options
context:
space:
mode:
authornemsia <nemsia@nemsia.org>2017-04-11 15:04:27 +0200
committerGitHub <noreply@github.com>2017-04-11 15:04:27 +0200
commite5db703f41abfd2be44df40645a26eacf712ddfa (patch)
treec6a39a07429ba7982a65148a514a113ceb1876fc /scripts/install
parent79f620fc4ea5c7a9f3afc96c964a7087316a1d53 (diff)
downloadmastodon_ynh-e5db703f41abfd2be44df40645a26eacf712ddfa.tar.gz
mastodon_ynh-e5db703f41abfd2be44df40645a26eacf712ddfa.tar.bz2
mastodon_ynh-e5db703f41abfd2be44df40645a26eacf712ddfa.zip
Missing sudo
Diffstat (limited to 'scripts/install')
-rw-r--r--scripts/install2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/install b/scripts/install
index b324893..df33c1e 100644
--- a/scripts/install
+++ b/scripts/install
@@ -79,7 +79,7 @@ sudo su -c "psql" postgres <<< \
ynh_psql_create_db_without_password "$app"
# Download all Ruby source
-su - mastodon
+sudo 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