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"
|
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
|
||||||
|
|
Loading…
Reference in a new issue