1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/digiwords_ynh.git synced 2024-09-03 18:26:11 +02:00

Restore the .db file after upgrade

This commit is contained in:
Melchisedech 2022-02-23 00:35:54 +01:00 committed by GitHub
parent 565c80442b
commit 767cfb42b4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -150,8 +150,9 @@ ynh_add_fpm_config
#=================================================
# SPECIFIC UPGRADE
#=================================================
# ...
# TAKE BACK THE OLD digiwords.db file
#=================================================
ynh_restore_file -o "/var/www/digiwords/inc/digiwords.db"
#=================================================
# GENERIC FINALIZATION