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:
parent
ecc8c1f98c
commit
752038f1f8
1 changed files with 6 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Add table
Reference in a new issue