aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornemsia <nemsia@nemsia.org>2017-04-11 15:00:05 +0200
committerGitHub <noreply@github.com>2017-04-11 15:00:05 +0200
commit79f620fc4ea5c7a9f3afc96c964a7087316a1d53 (patch)
tree8427fd9a20d956a59e1b94ec7a6ba49a6b49b936
parent289d9fb81f00d17957b9f788eb709a3cd9618fa1 (diff)
downloadmastodon_ynh-79f620fc4ea5c7a9f3afc96c964a7087316a1d53.tar.gz
mastodon_ynh-79f620fc4ea5c7a9f3afc96c964a7087316a1d53.tar.bz2
mastodon_ynh-79f620fc4ea5c7a9f3afc96c964a7087316a1d53.zip
Mkdir live not need
-rw-r--r--scripts/install8
1 files 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 <<COMMANDS