From 57c4c35f1d7d413237769d597f8ddabcd09a3e3f Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Fri, 11 Dec 2020 16:56:53 +0100 Subject: [PATCH] Update upgrade --- scripts/upgrade | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/scripts/upgrade b/scripts/upgrade index 1a988b9..c0552f9 100755 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -151,18 +151,18 @@ fi #================================================= # SETUP A CRON #================================================= -ynh_script_progression --message="Setuping a cron..." +# ynh_script_progression --message="Setuping a cron..." -cron_path="/etc/cron.d/$app" -cp -a ../conf/matomo.cron "$cron_path" -chown root: "$cron_path" -chmod 644 "$cron_path" +# cron_path="/etc/cron.d/$app" +# cp -a ../conf/matomo.cron "$cron_path" +# chown root: "$cron_path" +# chmod 644 "$cron_path" -ynh_replace_string --match_string="__FINALPATH__" --replace_string="$final_path" --target_file="$cron_path" -ynh_replace_string --match_string="__APP__" --replace_string="$app" --target_file="$cron_path" -ynh_replace_string --match_string="__DOMAIN__" --replace_string="$domain" --target_file="$cron_path" -ynh_replace_string --match_string="__PATH__" --replace_string="$path_url" --target_file="$cron_path" -ynh_replace_string --match_string="__PHPVERSION__" --replace_string="$phpversion" --target_file="$cron_path" +# ynh_replace_string --match_string="__FINALPATH__" --replace_string="$final_path" --target_file="$cron_path" +# ynh_replace_string --match_string="__APP__" --replace_string="$app" --target_file="$cron_path" +# ynh_replace_string --match_string="__DOMAIN__" --replace_string="$domain" --target_file="$cron_path" +# ynh_replace_string --match_string="__PATH__" --replace_string="$path_url" --target_file="$cron_path" +# ynh_replace_string --match_string="__PHPVERSION__" --replace_string="$phpversion" --target_file="$cron_path" #================================================= # GENERIC FINALIZATION