mirror of
https://github.com/YunoHost-Apps/seafile_ynh.git
synced 2024-09-03 20:26:01 +02:00
[autopatch] Do not delete logs on app removal
This commit is contained in:
parent
9fe2002cdf
commit
656198ef49
1 changed files with 0 additions and 1 deletions
|
@ -32,7 +32,6 @@ pkill -f seahub || true
|
||||||
|
|
||||||
if [ "$YNH_APP_PURGE" -eq 1 ]; then
|
if [ "$YNH_APP_PURGE" -eq 1 ]; then
|
||||||
ynh_script_progression --message="Removing logs..."
|
ynh_script_progression --message="Removing logs..."
|
||||||
ynh_secure_remove --file=/var/log/"$app"
|
|
||||||
fi
|
fi
|
||||||
ynh_script_progression --message="Removing code..."
|
ynh_script_progression --message="Removing code..."
|
||||||
ynh_secure_remove --file=/var/www/"$app"
|
ynh_secure_remove --file=/var/www/"$app"
|
||||||
|
|
Loading…
Reference in a new issue