From ede37a92321a7a1d4b5f3dc7b22146aa4a74d120 Mon Sep 17 00:00:00 2001 From: yalh76 Date: Sat, 28 Mar 2020 20:25:37 +0100 Subject: Temporary workaround for https://github.com/tootsuite/mastodon/issues/13292 --- scripts/upgrade | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'scripts/upgrade') 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 -- cgit v1.2.3-70-g09d2