[fix] Change rm dump to ynh_secure_remove

This commit is contained in:
nemsia 2017-05-06 19:37:08 +02:00 committed by GitHub
parent 7d9014285d
commit 6d0d7a561a

View file

@ -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