1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/ttrss_ynh.git synced 2024-10-01 13:34:46 +02:00

[fix] Quick fix upgrade

This commit is contained in:
Maniack Crudelis 2017-12-18 12:14:16 +01:00 committed by GitHub
parent 028e5fb244
commit e9fffbbcdf
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -34,9 +34,6 @@ if [ -z $db_name ]; then # If db_name doesn't exist, create it
ynh_app_setting_set $app db_name $db_name
fi
# Remove old cron job
ynh_secure_remove "/etc/cron.d/$app"
#=================================================
# BACKUP BEFORE UPGRADE THEN ACTIVE TRAP
#=================================================
@ -47,6 +44,13 @@ ynh_clean_setup () {
}
ynh_abort_if_errors # Active trap pour arrêter le script si une erreur est détectée.
#=================================================
# ENSURE DOWNWARD COMPATIBILITY BIS
#=================================================
# Remove old cron job
ynh_secure_remove "/etc/cron.d/$app"
#=================================================
# CHECK THE PATH
#=================================================