mirror of
https://github.com/YunoHost-Apps/paheko_ynh.git
synced 2024-09-03 19:56:22 +02:00
conditions for keep configs if needed
This commit is contained in:
parent
ec5428d0ed
commit
c24d13169f
1 changed files with 1 additions and 1 deletions
|
@ -54,7 +54,7 @@ if [ -f "$install_dir/data/config.local.user.php" ]; then
|
||||||
ynh_secure_remove "$install_dir/data/config.local.user.php"
|
ynh_secure_remove "$install_dir/data/config.local.user.php"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ -f "$install_dir/data/data" ]; then
|
if [ -d "$install_dir/data/data" ]; then
|
||||||
ynh_secure_remove "$install_dir/data/data"
|
ynh_secure_remove "$install_dir/data/data"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue