aboutsummaryrefslogtreecommitdiff
path: root/scripts/upgrade
diff options
context:
space:
mode:
authoryalh76 <yalh@yahoo.com>2021-04-26 22:35:50 +0200
committerGitHub <noreply@github.com>2021-04-26 22:35:50 +0200
commit229212d9d4e7584a48aa5dfb8596e80355771f63 (patch)
tree098c4371c58cf7f2f7576d6896e7d8d46fa45716 /scripts/upgrade
parentee4e005bfdda9db52ccaecfe1a13635e4fe3899b (diff)
parented49d699acaf02c295f787945993ecef3f759eb6 (diff)
downloadmastodon_ynh-229212d9d4e7584a48aa5dfb8596e80355771f63.tar.gz
mastodon_ynh-229212d9d4e7584a48aa5dfb8596e80355771f63.tar.bz2
mastodon_ynh-229212d9d4e7584a48aa5dfb8596e80355771f63.zip
Merge pull request #268 from YunoHost-Apps/testing
Fix #267
Diffstat (limited to 'scripts/upgrade')
-rw-r--r--scripts/upgrade2
1 files changed, 0 insertions, 2 deletions
diff --git a/scripts/upgrade b/scripts/upgrade
index 86555dc..62d576e 100644
--- a/scripts/upgrade
+++ b/scripts/upgrade
@@ -256,8 +256,6 @@ ynh_add_systemd_config --service="$app-streaming" --template="mastodon-streaming
#=================================================
ynh_script_progression --message="Upgrading Mastodon..."
-chown -R "$app": "$final_path"
-
pushd "$final_path/live"
sudo -u $app $ynh_ruby_load_path bin/bundle config deployment 'true'
sudo -u $app $ynh_ruby_load_path bin/bundle config without 'development test'