1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/friendica_ynh.git synced 2024-09-03 18:36:14 +02:00

Update upgrade

This commit is contained in:
Éric Gaspar 2023-08-21 12:18:06 +02:00
parent ecc8c1f98c
commit 752038f1f8

View file

@ -39,8 +39,13 @@ if [ -f $install_dir/.htconfig.php ]; then
ynh_secure_remove "$install_dir/.htconfig.php" ynh_secure_remove "$install_dir/.htconfig.php"
fi fi
# Remove files for upgrade compatibilty from previous versions of Friendica
if [ -f $install_dir/.htconfig.php ]; then if [ -f $install_dir/.htconfig.php ]; then
ynh_secure_remove "$install_dir/config/local.ini.php" ynh_secure_remove "$install_dir/.htconfig.php"
fi
if [ -f /etc/cron.d/$app ]; then
ynh_secure_remove --file="/etc/cron.d/$app"
fi fi
# If admin_mail setting doesn't exist, create it # If admin_mail setting doesn't exist, create it