1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/mastodon_ynh.git synced 2024-09-03 19:46:02 +02:00

[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 RECOMMANDS
# Remove dump # Remove dump
sudo rm $final_path/mastodon_db.sql ynh_secure_remove $final_path/mastodon_db.sql
# Create symlink for ruby # Create symlink for ruby
sudo ln -s /opt/mastodon/.rbenv/versions/2.4.1/bin/ruby /usr/bin/ruby || true sudo ln -s /opt/mastodon/.rbenv/versions/2.4.1/bin/ruby /usr/bin/ruby || true