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:
parent
565c80442b
commit
767cfb42b4
1 changed files with 2 additions and 1 deletions
|
@ -150,8 +150,9 @@ ynh_add_fpm_config
|
||||||
#=================================================
|
#=================================================
|
||||||
# SPECIFIC UPGRADE
|
# SPECIFIC UPGRADE
|
||||||
#=================================================
|
#=================================================
|
||||||
# ...
|
# TAKE BACK THE OLD digiwords.db file
|
||||||
#=================================================
|
#=================================================
|
||||||
|
ynh_restore_file -o "/var/www/digiwords/inc/digiwords.db"
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# GENERIC FINALIZATION
|
# GENERIC FINALIZATION
|
||||||
|
|
Loading…
Reference in a new issue