mirror of
https://github.com/YunoHost-Apps/droppy_ynh.git
synced 2024-09-03 18:26:27 +02:00
Fix
This commit is contained in:
parent
5204b6e57b
commit
97cbdaa444
2 changed files with 8 additions and 3 deletions
|
@ -53,7 +53,7 @@ ynh_backup --src_path="/etc/nginx/conf.d/$domain.d/$app.conf"
|
|||
# BACKUP DATADIR DIRECTORY
|
||||
#=================================================
|
||||
|
||||
ynh_backup --src_path="$data_path"
|
||||
ynh_backup --src_path="$data_path" --is_big
|
||||
|
||||
#=================================================
|
||||
# BACKUP SYSTEMD
|
||||
|
|
|
@ -57,10 +57,15 @@ ynh_script_progression --message="Removing app main directory..." --weight=6
|
|||
ynh_secure_remove --file="$final_path"
|
||||
|
||||
#=================================================
|
||||
# REMOVE DATADIR DIRECTORY
|
||||
# REMOVE DATA DIR
|
||||
#=================================================
|
||||
|
||||
ynh_secure_remove --file="$data_path"
|
||||
# # Remove the app data directory with the command `yunohost app remove --purge`
|
||||
# if [ "${YNH_APP_PURGE:-0}" -eq 1 ]
|
||||
# then
|
||||
# ynh_script_progression --message="Removing $app data directory..." --weight=2
|
||||
# ynh_secure_remove --file="$data_path"
|
||||
# fi
|
||||
|
||||
#=================================================
|
||||
# REMOVE NGINX CONFIGURATION
|
||||
|
|
Loading…
Add table
Reference in a new issue