diff --git a/scripts/upgrade b/scripts/upgrade index 1f6d10e..86187e9 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -136,8 +136,8 @@ fi ynh_script_progression --message="Setuping a cron..." --weight=1 ynh_add_config --template="../conf/phpbb.cron" --destination="/etc/cron.d/$app" -chown root: "$cron_path" -chmod 644 "$cron_path" +chown root: "/etc/cron.d/$app" +chmod 644 "/etc/cron.d/$app" #================================================= # RELOAD NGINX