1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/glitchsoc_ynh.git synced 2024-09-03 19:15:59 +02:00

Mkdir live not need

This commit is contained in:
nemsia 2017-04-11 15:00:05 +02:00 committed by GitHub
parent 289d9fb81f
commit 79f620fc4e

View file

@ -79,17 +79,19 @@ sudo su -c "psql" postgres <<< \
ynh_psql_create_db_without_password "$app" ynh_psql_create_db_without_password "$app"
# Download all Ruby source # 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/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/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 https://github.com/tootsuite/mastodon.git $final_path/live
exit
# Be king rewind (/var/cache/yunohost/from_file/scripts) # Be king rewind (/var/cache/yunohost/from_file/scripts)
popd popd
# Get Mastodon last version # Get Mastodon last version
sudo mkdir "${final_path}/live" # sudo mkdir "${final_path}/live"
SETUP_SOURCE # SETUP_SOURCE
sudo chown -R $app: "${final_path}" # sudo chown -R $app: "${final_path}"
# Install de rbenv # Install de rbenv
sudo su - $app <<COMMANDS sudo su - $app <<COMMANDS