mirror of
https://github.com/YunoHost-Apps/send_ynh.git
synced 2025-11-04 15:55:29 +01:00
cleaning
This commit is contained in:
@@ -11,6 +11,12 @@ ynh_print_info "Declaring files to be backed up..."
|
||||
|
||||
ynh_backup "$install_dir"
|
||||
|
||||
#=================================================
|
||||
# BACKUP THE DATA DIR
|
||||
#=================================================
|
||||
|
||||
ynh_backup "$data_dir"
|
||||
|
||||
#=================================================
|
||||
# SYSTEM CONFIGURATION
|
||||
#=================================================
|
||||
|
||||
@@ -12,6 +12,13 @@ ynh_restore "$install_dir"
|
||||
|
||||
chmod +x "$install_dir/server/bin/prod.js"
|
||||
|
||||
#=================================================
|
||||
# RESTORE THE DATA DIRECTORY
|
||||
#=================================================
|
||||
ynh_script_progression "Restoring the data directory..."
|
||||
|
||||
ynh_restore "$data_dir"
|
||||
|
||||
#=================================================
|
||||
# REINSTALL DEPENDENCIES
|
||||
#=================================================
|
||||
|
||||
Reference in New Issue
Block a user