aboutsummaryrefslogtreecommitdiff
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
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
-rw-r--r--manifest.json2
-rw-r--r--scripts/upgrade2
2 files changed, 1 insertions, 3 deletions
diff --git a/manifest.json b/manifest.json
index 951f3fb..620229a 100644
--- a/manifest.json
+++ b/manifest.json
@@ -6,7 +6,7 @@
"en": "A libre and federated social network.",
"fr": "Un réseau social libre et fédéré."
},
- "version": "3.3.0~ynh2",
+ "version": "3.3.0~ynh3",
"url": "https://github.com/tootsuite/mastodon",
"license": "AGPL-3.0-or-later",
"maintainer": {
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'