aboutsummaryrefslogtreecommitdiff
path: root/scripts/upgrade
diff options
context:
space:
mode:
authoryalh76 <yalh@yahoo.com>2020-04-09 15:57:17 +0200
committeryalh76 <yalh@yahoo.com>2020-04-09 15:57:17 +0200
commitb957a40f6f8b8139f89b330cf3aa14d800806187 (patch)
treed131ee3914bfa153a55e0ae6d89e7b22d8ee45ae /scripts/upgrade
parent4f0adec82e6965dec86d86e49c075421bc548683 (diff)
downloadmastodon_ynh-b957a40f6f8b8139f89b330cf3aa14d800806187.tar.gz
mastodon_ynh-b957a40f6f8b8139f89b330cf3aa14d800806187.tar.bz2
mastodon_ynh-b957a40f6f8b8139f89b330cf3aa14d800806187.zip
Update upgrade
Diffstat (limited to 'scripts/upgrade')
-rw-r--r--scripts/upgrade4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/upgrade b/scripts/upgrade
index 0bc44b3..153437b 100644
--- a/scripts/upgrade
+++ b/scripts/upgrade
@@ -182,7 +182,7 @@ then
rsync -a "$final_path/live/public/system" "$tmpdir/."
fi
rsync -a "$final_path/live/.env.production" "$tmpdir/."
- ynh_secure_remove --file="$final_path/live/"
+ 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
@@ -192,7 +192,7 @@ then
rsync -a "$tmpdir/system" "$final_path/live/public/."
fi
rsync -a "$tmpdir/.env.production" "$final_path/live/."
- ynh_secure_remove --file="$tmpdir/"
+ ynh_secure_remove --file="$tmpdir"
# Clean files which are not needed anymore
ynh_secure_remove --file="$final_path/live/config/initializers/timeout.rb"