mirror of
https://github.com/YunoHost-Apps/seafile_ynh.git
synced 2024-09-03 20:26:01 +02:00
Merge pull request #124 from yunohost-bot/delete-log-removal
[autopatch] Do not delete logs on app removal
This commit is contained in:
commit
cb51460014
1 changed files with 0 additions and 4 deletions
|
@ -30,10 +30,6 @@ pkill -f seaf-server || true
|
|||
pkill -f ccnet-server || true
|
||||
pkill -f seahub || true
|
||||
|
||||
if [ "$YNH_APP_PURGE" -eq 1 ]; then
|
||||
ynh_script_progression --message="Removing logs..."
|
||||
ynh_secure_remove --file=/var/log/"$app"
|
||||
fi
|
||||
ynh_script_progression --message="Removing code..."
|
||||
ynh_secure_remove --file=/var/www/"$app"
|
||||
ynh_secure_remove --file=/opt/yunohost/"$app"
|
||||
|
|
Loading…
Reference in a new issue