aboutsummaryrefslogtreecommitdiff
path: root/scripts/upgrade
diff options
context:
space:
mode:
authoryalh76 <yalh@yahoo.com>2020-04-16 20:38:16 +0200
committerGitHub <noreply@github.com>2020-04-16 20:38:16 +0200
commit6b30109fc986d83166b1805ec3ad7e28200e3743 (patch)
tree78e18208680a5eae1b0c5d38a10d0542e1f63854 /scripts/upgrade
parent7e1f4c2dee5f2c8374686aea62f4648cdf2722c3 (diff)
parent6650cdd372df215e37250501f6ab8d345941a29b (diff)
downloadmastodon_ynh-6b30109fc986d83166b1805ec3ad7e28200e3743.tar.gz
mastodon_ynh-6b30109fc986d83166b1805ec3ad7e28200e3743.tar.bz2
mastodon_ynh-6b30109fc986d83166b1805ec3ad7e28200e3743.zip
Merge pull request #212 from YunoHost-Apps/testing
Implement LDAP
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"