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:
parent
028e5fb244
commit
e9fffbbcdf
1 changed files with 7 additions and 3 deletions
|
@ -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
|
||||
#=================================================
|
||||
|
|
Loading…
Add table
Reference in a new issue