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

Restoring old database after upgrade

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

View file

@ -152,7 +152,8 @@ ynh_add_fpm_config
#=================================================
# TAKE BACK THE OLD digiwords.db file
#=================================================
ynh_restore_file -o "/var/www/digiwords/inc/digiwords.db"
ynh_script_progression --message="Restoring database..." --time --weight=1
ynh_restore_file -o "$final_pat/inc/digiwords.db"
#=================================================
# GENERIC FINALIZATION