aboutsummaryrefslogtreecommitdiff
path: root/scripts/upgrade
diff options
context:
space:
mode:
authoryalh76 <yalh@yahoo.com>2020-03-29 21:43:14 +0200
committerGitHub <noreply@github.com>2020-03-29 21:43:14 +0200
commit7e1f4c2dee5f2c8374686aea62f4648cdf2722c3 (patch)
tree75ac7cbcd8beecb5db08bac176efe049a48eeba8 /scripts/upgrade
parent60ae82f7ff2954e68d995ec41552153bf7579542 (diff)
parentbf0dea0f437c00db213c27da299a0dda65810d6a (diff)
downloadmastodon_ynh-7e1f4c2dee5f2c8374686aea62f4648cdf2722c3.tar.gz
mastodon_ynh-7e1f4c2dee5f2c8374686aea62f4648cdf2722c3.tar.bz2
mastodon_ynh-7e1f4c2dee5f2c8374686aea62f4648cdf2722c3.zip
Merge pull request #206 from YunoHost-Apps/testing
Temporary workaround
Diffstat (limited to 'scripts/upgrade')
-rw-r--r--scripts/upgrade4
1 files changed, 4 insertions, 0 deletions
diff --git a/scripts/upgrade b/scripts/upgrade
index 32426a2..0bc44b3 100644
--- a/scripts/upgrade
+++ b/scripts/upgrade
@@ -184,6 +184,10 @@ then
rsync -a "$final_path/live/.env.production" "$tmpdir/."
ynh_secure_remove --file="$final_path/live/"
ynh_setup_source --dest_dir="$final_path/live"
+
+ # Temporary workaround for https://github.com/tootsuite/mastodon/issues/13292
+ ynh_replace_string --match_string="sidekiq-unique-jobs (6.0.18)" --replace_string="sidekiq-unique-jobs (6.0.20)" --target_file="$final_path/live/Gemfile.lock"
+
if [ -d "$tmpdir/system" ]; then
rsync -a "$tmpdir/system" "$final_path/live/public/."
fi