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:
parent
9baebbdbc5
commit
9bf8a84e66
1 changed files with 6 additions and 8 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue