had an extra slash in rss gopher generator

This commit is contained in:
James Tomasino 2018-11-30 15:25:24 -05:00
parent 790c4f24ab
commit f9e2b46ac8
1 changed files with 2 additions and 2 deletions

View File

@ -70,8 +70,8 @@ if [ "$run_user" -eq 0 ]; then
printf "<item>\\n"
printf " <title>%s</title>\\n" "$title"
printf " <author>%s@cosmic.voyage (%s)</author>\\n" "$owner" "$owner"
printf " <link>gopher://cosmic.voyage/0/%s</link>\\n" "$log"
printf " <guid>gopher://cosmic.voyage/0/%s</guid>\\n" "$log"
printf " <link>gopher://cosmic.voyage/0%s</link>\\n" "$log"
printf " <guid>gopher://cosmic.voyage/0%s</guid>\\n" "$log"
printf " <pubDate>%s GMT</pubDate>\\n" "$(date -d "$(stat -c %y "/var/gopher${log}")" +'%a, %d %b %Y %H:%M:%S')"
printf " <description><![CDATA[\\n"
cat "/var/gopher${log}"