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:
parent
289d9fb81f
commit
79f620fc4e
1 changed files with 5 additions and 3 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue