1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/flarum_ynh.git synced 2024-09-03 18:36:24 +02:00

Delete configuration.yml after post-installation

Fixes #59
This commit is contained in:
tituspijean 2018-02-14 11:11:55 +01:00
parent 8c5b136fa5
commit 0f73336986

View file

@ -208,6 +208,7 @@ if [[ -n $admin && -n $title ]]; then
cd "$final_path" cd "$final_path"
exec_as www-data \ exec_as www-data \
php -d memory_limit=-1 flarum install -f configuration.yml php -d memory_limit=-1 flarum install -f configuration.yml
ynh_secure_remove $finalflarumconf
# Generate and add root token for user creation and deletion # Generate and add root token for user creation and deletion
roottoken=$(ynh_string_random 40) roottoken=$(ynh_string_random 40)