From 40bc0f3c9863ad733109116f2fcfacb003120909 Mon Sep 17 00:00:00 2001 From: Kevin Fenzi Date: Tue, 13 May 2025 09:23:18 -0700 Subject: [PATCH] proxies: ostree summary sync, use -f to mv In f42 in some cases mv will prompt here to overwrite the old file. We always want to replace it, so add a -f here. Signed-off-by: Kevin Fenzi --- roles/fedora-web/ostree/files/cron-sync-ostree-summary | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/roles/fedora-web/ostree/files/cron-sync-ostree-summary b/roles/fedora-web/ostree/files/cron-sync-ostree-summary index a3b96fa70d..0e67232746 100644 --- a/roles/fedora-web/ostree/files/cron-sync-ostree-summary +++ b/roles/fedora-web/ostree/files/cron-sync-ostree-summary @@ -1,4 +1,4 @@ MAILTO="" -*/15 * * * * root /usr/bin/curl -f https://kojipkgs.fedoraproject.org/ostree/repo/summary -o /srv/web/ostree/summary.new && mv /srv/web/ostree/summary.new /srv/web/ostree/summary +*/15 * * * * root /usr/bin/curl -f https://kojipkgs.fedoraproject.org/ostree/repo/summary -o /srv/web/ostree/summary.new && mv -f /srv/web/ostree/summary.new /srv/web/ostree/summary MAILTO="" -*/15 * * * * root /usr/bin/curl -f https://kojipkgs.fedoraproject.org/compose/iot/repo/summary -o /srv/web/ostree/iot/summary.new && mv /srv/web/ostree/iot/summary.new /srv/web/ostree/iot/summary +*/15 * * * * root /usr/bin/curl -f https://kojipkgs.fedoraproject.org/compose/iot/repo/summary -o /srv/web/ostree/iot/summary.new && mv -f /srv/web/ostree/iot/summary.new /srv/web/ostree/iot/summary