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 #=================================================