1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/galene_ynh.git synced 2024-09-03 18:36:31 +02:00

Update remove

This commit is contained in:
ericgaspar 2021-09-06 15:42:44 +02:00
parent 9baebbdbc5
commit 9bf8a84e66
No known key found for this signature in database
GPG key ID: 574F281483054D44

View file

@ -55,14 +55,12 @@ ynh_secure_remove --file="$final_path"
# REMOVE DATA DIR # REMOVE DATA DIR
#================================================= #=================================================
YNH_APP_PURGE=1 # # Remove the app data directory with the command `yunohost app remove --purge`
# if [ "${YNH_APP_PURGE:-0}" -eq 1 ]
# Remove the app data directory with the command `yunohost app remove --purge` # then
if [ "${YNH_APP_PURGE:-0}" -eq 1 ] # ynh_script_progression --message="Removing $app data directory..." --weight=2
then # ynh_secure_remove --file="$datadir"
ynh_script_progression --message="Removing $app data directory..." --weight=2 # fi
ynh_secure_remove --file="$datadir"
fi
#================================================= #=================================================
# REMOVE NGINX CONFIGURATION # REMOVE NGINX CONFIGURATION