diff --git a/scripts/install b/scripts/install index b3cbf4f..48bf675 100644 --- a/scripts/install +++ b/scripts/install @@ -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