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:
parent
7d9014285d
commit
6d0d7a561a
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue