diff --git a/scripts/install b/scripts/install index ac56b25..ea889c6 100755 --- a/scripts/install +++ b/scripts/install @@ -127,6 +127,7 @@ cron_path="/etc/cron.d/$app" ynh_replace_string --match_string="__FINALPATH__" --replace_string=$final_path --target_file="../conf/freshrss.cron" ynh_replace_string --match_string="__APP__" --replace_string=$app --target_file="../conf/freshrss.cron" +ynh_replace_string --match_string="__PHPVERSION__" --replace_string=$phpversion --target_file="../conf/freshrss.cron" cp ../conf/freshrss.cron "$cron_path" chmod 644 "$cron_path" diff --git a/scripts/upgrade b/scripts/upgrade index 30024a5..68f91f9 100755 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -148,6 +148,7 @@ cron_path="/etc/cron.d/$app" ynh_replace_string --match_string="__FINALPATH__" --replace_string=$final_path --target_file="../conf/freshrss.cron" ynh_replace_string --match_string="__APP__" --replace_string=$app --target_file="../conf/freshrss.cron" +ynh_replace_string --match_string="__PHPVERSION__" --replace_string=$phpversion --target_file="../conf/freshrss.cron" cp ../conf/freshrss.cron "$cron_path" chmod 644 "$cron_path"