1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/ifm_ynh.git synced 2024-09-03 18:45:52 +02:00

Update remove

This commit is contained in:
ericgaspar 2021-08-28 19:09:25 +02:00
parent 326932dccd
commit ff03ecb269
No known key found for this signature in database
GPG key ID: 574F281483054D44

View file

@ -33,7 +33,7 @@ ynh_secure_remove --file="$final_path"
#================================================= #=================================================
# Remove the app data directory with the command `yunohost app remove --purge` # Remove the app data directory with the command `yunohost app remove --purge`
if [ "$YNH_APP_PURGE" == true ] if [ "${YNH_APP_PURGE:-0}" -eq 1 ]
then then
ynh_script_progression --message="Removing $app data directory..." --weight=2 ynh_script_progression --message="Removing $app data directory..." --weight=2
ynh_secure_remove --file="$datadir" ynh_secure_remove --file="$datadir"