From 6d0d7a561a4bb3eb7d0e5d4cf53c488c88e07da0 Mon Sep 17 00:00:00 2001 From: nemsia Date: Sat, 6 May 2017 19:37:08 +0200 Subject: [PATCH] [fix] Change rm dump to ynh_secure_remove --- scripts/restore | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/restore b/scripts/restore index a57a33f..500a9b1 100644 --- a/scripts/restore +++ b/scripts/restore @@ -113,7 +113,7 @@ psql mastodon_production < $final_path/mastodon_db.sql RECOMMANDS # Remove dump -sudo rm $final_path/mastodon_db.sql +ynh_secure_remove $final_path/mastodon_db.sql # Create symlink for ruby sudo ln -s /opt/mastodon/.rbenv/versions/2.4.1/bin/ruby /usr/bin/ruby || true