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 <kevin@scrye.com>
This commit is contained in:
parent
5bbb4f6550
commit
40bc0f3c98
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue