1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/redmine_ynh.git synced 2024-09-03 20:16:16 +02:00

replace 'rm -f' by 'ynh_secure_remove'

This commit is contained in:
OniriCorpe 2024-02-24 22:08:11 +01:00 committed by GitHub
parent 3b2e8e3ee7
commit 703d60daff
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -59,7 +59,7 @@ pushd "$install_dir"
#Setting up LDAP authentification
ynh_psql_connect_as $db_user $db_pwd $db_name < $install_dir/config/db-ldap.sql
rm -f $install_dir/config/db-ldap.sql
ynh_secure_remove --file="$install_dir/config/db-ldap.sql"
#ynh_exec_warn_less bundle exec rake redmine:load_default_data RAILS_ENV=production
popd