aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authoryalh76 <yalh@yahoo.com>2019-06-26 07:00:51 +0200
committeryalh76 <yalh@yahoo.com>2019-06-26 07:00:51 +0200
commit86543fc1f0e6b87cff1a39c9c24f2643ab8c702d (patch)
tree2625d66cd81c8183d2e0f55815f2edf9d726f9a6 /scripts
parentcbc9f6eabfe28aeba001bb7adb4fc491ba20cbed (diff)
downloadmastodon_ynh-86543fc1f0e6b87cff1a39c9c24f2643ab8c702d.tar.gz
mastodon_ynh-86543fc1f0e6b87cff1a39c9c24f2643ab8c702d.tar.bz2
mastodon_ynh-86543fc1f0e6b87cff1a39c9c24f2643ab8c702d.zip
remove rm -rf
Diffstat (limited to 'scripts')
-rw-r--r--scripts/upgrade2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/upgrade b/scripts/upgrade
index 524a7fc..46e7229 100644
--- a/scripts/upgrade
+++ b/scripts/upgrade
@@ -173,7 +173,7 @@ then
rsync -a "$final_path/live_back/public/system" "$final_path/live/public/."
fi
rsync -a "$final_path/live_back/.env.production" "$final_path/live/."
- rm -Rf "$final_path/live_back"
+ ynh_secure_remove --file="$final_path/live_back/"
# Clean files which are not needed anymore
ynh_secure_remove --file="$final_path/live/config/initializers/timeout.rb"