diff options
| author | anmol <github@datamol.org> | 2019-01-07 11:53:50 +0530 |
|---|---|---|
| committer | anmol <github@datamol.org> | 2019-01-07 11:53:50 +0530 |
| commit | e685d4d27a5bf08556c737e7aa7c9d86e22bbdac (patch) | |
| tree | dac143cfb32751e45888d639dcf70407efd157c0 | |
| parent | 7a7653e321a1e5b365f1de1c52c30fe391dfda2a (diff) | |
| download | mastodon_ynh-e685d4d27a5bf08556c737e7aa7c9d86e22bbdac.tar.gz mastodon_ynh-e685d4d27a5bf08556c737e7aa7c9d86e22bbdac.tar.bz2 mastodon_ynh-e685d4d27a5bf08556c737e7aa7c9d86e22bbdac.zip | |
Give proper right permission
| -rw-r--r-- | scripts/install | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/scripts/install b/scripts/install index 919d5e1..f82126b 100644 --- a/scripts/install +++ b/scripts/install @@ -205,10 +205,12 @@ ynh_replace_string "#SMTP_OPENSSL_VERIFY_MODE=peer" "SMTP_OPENSSL_V # Preconfig CSS & JS # Install Mastodon +# Give right permission for the app +chown -R "$app": "$final_path" + ( cd "$final_path/live" su mastodon <<INSTALL - $final_path/.rbenv/versions/2.5.3/bin/gem install bundler:1.16.5 $final_path/.rbenv/versions/2.5.3/bin/gem install bundler $final_path/live/bin/bundle install -j$(getconf _NPROCESSORS_ONLN) --deployment --without development test yarn install --production --no-progress --non-interactive --silent |
