1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/transmission_ynh.git synced 2024-09-04 01:46:12 +02:00

Update remove

This commit is contained in:
ericgaspar 2021-11-05 22:17:18 +01:00
parent e931107380
commit 36e3d7491d
No known key found for this signature in database
GPG key ID: 574F281483054D44

View file

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