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