mirror of
https://github.com/YunoHost-Apps/pgadmin_ynh.git
synced 2024-09-03 19:56:38 +02:00
Merge pull request #42 from yunohost-bot/delete-log-removal
[autopatch] Do not delete logs on app removal
This commit is contained in:
commit
10700c7609
1 changed files with 0 additions and 12 deletions
|
@ -26,18 +26,6 @@ ynh_remove_logrotate
|
||||||
# Remove the dedicated NGINX config
|
# Remove the dedicated NGINX config
|
||||||
ynh_remove_nginx_config
|
ynh_remove_nginx_config
|
||||||
|
|
||||||
#=================================================
|
|
||||||
# SPECIFIC REMOVE
|
|
||||||
#=================================================
|
|
||||||
# REMOVE VARIOUS FILES
|
|
||||||
#=================================================
|
|
||||||
ynh_script_progression --message="Removing various files..." --weight=1
|
|
||||||
|
|
||||||
if [ "$YNH_APP_PURGE" -eq 1 ]; then
|
|
||||||
ynh_script_progression --message="Removing logs..."
|
|
||||||
ynh_secure_remove --file=/var/log/"$app"
|
|
||||||
fi
|
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# END OF SCRIPT
|
# END OF SCRIPT
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
Loading…
Add table
Reference in a new issue