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:
parent
4f1294ed4e
commit
574a57f301
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
Loading…
Add table
Reference in a new issue