1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/paheko_ynh.git synced 2024-09-03 19:56:22 +02:00

Update upgrade

remove file unused if exist
This commit is contained in:
Robles Rodolphe 2023-09-20 19:33:30 +02:00 committed by GitHub
parent fa6808021a
commit eaf06241c4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -132,6 +132,11 @@ if [ -d "$install_dir/data/data" ]; then
ynh_secure_remove --file="$install_dir/data/data"
fi
# clean unused file if exist
if [[ -f "$install_dir/config.local.user.php" ]]; then
ynh_secure_remove --file="$install_dir/config.local.user.php"
fi
#=================================================
# END OF SCRIPT
#=================================================