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:
parent
326932dccd
commit
ff03ecb269
1 changed files with 1 additions and 1 deletions
|
@ -33,7 +33,7 @@ ynh_secure_remove --file="$final_path"
|
|||
#=================================================
|
||||
|
||||
# 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
|
||||
ynh_script_progression --message="Removing $app data directory..." --weight=2
|
||||
ynh_secure_remove --file="$datadir"
|
||||
|
|
Loading…
Add table
Reference in a new issue