From 574a57f301e94fed86640fa33770e1a319aa535d Mon Sep 17 00:00:00 2001 From: yalh76 Date: Wed, 13 Nov 2019 01:03:28 +0100 Subject: [PATCH] Fix upgrade --- scripts/upgrade | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/upgrade b/scripts/upgrade index f1d2445..0e8bf00 100755 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -149,13 +149,13 @@ ynh_replace_string "APPNAMETOCHANGE" $app ../hooks/post_user_delete # CRON SETUP #================================================= ynh_print_info --message="Setting up cron..." + cron_path="/etc/cron.d/$app" ynh_replace_string "__FINALPATH__" $final_path ../conf/freshrss.cron ynh_replace_string "__APP__" $app ../conf/freshrss.cron cp ../conf/freshrss.cron "$cron_path" chmod 644 "$cron_path" -rm /tmp/FreshRSS.log #================================================= # GENERIC FINALIZATION #=================================================