mirror of
https://github.com/YunoHost-Apps/chuwiki_ynh.git
synced 2024-09-03 18:16:18 +02:00
commit
24563dbd2e
1 changed files with 10 additions and 0 deletions
|
@ -29,6 +29,16 @@ ynh_secure_remove --file="$final_path"
|
||||||
|
|
||||||
# Remove the content directory securely
|
# Remove the content directory securely
|
||||||
#ynh_secure_remove --file="/home/yunohost.app/$app"
|
#ynh_secure_remove --file="/home/yunohost.app/$app"
|
||||||
|
#=================================================
|
||||||
|
# REMOVE DATA DIR
|
||||||
|
#=================================================
|
||||||
|
|
||||||
|
# Remove the data directory if --purge option is used
|
||||||
|
if [ "${YNH_APP_PURGE:-0}" -eq 1 ]
|
||||||
|
then
|
||||||
|
ynh_script_progression --message="Removing app data directory..." --time --weight=1
|
||||||
|
ynh_secure_remove --file="$datadir"
|
||||||
|
fi
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# REMOVE NGINX CONFIGURATION
|
# REMOVE NGINX CONFIGURATION
|
||||||
|
|
Loading…
Reference in a new issue