1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/freshrss_ynh.git synced 2024-09-03 18:36:33 +02:00

Fix upgrade

This commit is contained in:
yalh76 2019-11-13 01:03:28 +01:00
parent 4f1294ed4e
commit 574a57f301

View file

@ -149,13 +149,13 @@ ynh_replace_string "APPNAMETOCHANGE" $app ../hooks/post_user_delete
# CRON SETUP # CRON SETUP
#================================================= #=================================================
ynh_print_info --message="Setting up cron..." ynh_print_info --message="Setting up cron..."
cron_path="/etc/cron.d/$app" cron_path="/etc/cron.d/$app"
ynh_replace_string "__FINALPATH__" $final_path ../conf/freshrss.cron ynh_replace_string "__FINALPATH__" $final_path ../conf/freshrss.cron
ynh_replace_string "__APP__" $app ../conf/freshrss.cron ynh_replace_string "__APP__" $app ../conf/freshrss.cron
cp ../conf/freshrss.cron "$cron_path" cp ../conf/freshrss.cron "$cron_path"
chmod 644 "$cron_path" chmod 644 "$cron_path"
rm /tmp/FreshRSS.log
#================================================= #=================================================
# GENERIC FINALIZATION # GENERIC FINALIZATION
#================================================= #=================================================