forked from cosmic/cosmic
had an extra slash in rss gopher generator
This commit is contained in:
parent
790c4f24ab
commit
f9e2b46ac8
|
@ -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}"
|
||||
|
|
Loading…
Reference in New Issue