1
0
Fork 0
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:
rodinux 2023-12-29 16:23:41 +01:00
parent ec5428d0ed
commit c24d13169f

View file

@ -54,7 +54,7 @@ if [ -f "$install_dir/data/config.local.user.php" ]; then
ynh_secure_remove "$install_dir/data/config.local.user.php"
fi
if [ -f "$install_dir/data/data" ]; then
if [ -d "$install_dir/data/data" ]; then
ynh_secure_remove "$install_dir/data/data"
fi