From 1576701e741c1a82af24d1344997bc505e4c00c6 Mon Sep 17 00:00:00 2001 From: Matija Nalis Date: Mon, 24 May 2021 19:17:38 +0200 Subject: [PATCH] s must be inside for RSS --- cookbooks/planet/templates/default/planetdump.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cookbooks/planet/templates/default/planetdump.erb b/cookbooks/planet/templates/default/planetdump.erb index ea474ed93..e664f44f4 100644 --- a/cookbooks/planet/templates/default/planetdump.erb +++ b/cookbooks/planet/templates/default/planetdump.erb @@ -136,7 +136,7 @@ function mk_torrent { # add newly created .torrent file as new entry to .xml RSS feed, removing excess entries xmlstarlet edit --inplace \ - -a "//channel" -t elem -n item -v "" \ + -a "//lastBuildDate" -t elem -n item -v "" \ -s "//item[1]" -t elem -n "title" -v "${torrent_file}" \ -s "//item[1]" -t elem -n "guid" -v "${torrent_url}" \ -s "//item[1]" -t elem -n "link" -v "${torrent_url}" \ -- 2.43.2