chg: [test] default template updated

This commit is contained in:
Alexandre Dulaunoy 2024-09-03 06:21:17 +02:00
parent 9808362509
commit abaac06cf4
Signed by: adulau
GPG key ID: 09E2CD4944E6CBCD

View file

@ -1,7 +1,7 @@
#!/bin/bash
while true; do
command="./mastodon-markdown-archive --template=../files/templates/post.tmpl --user=https://paperbay.org/@a --dist=./posts --persist-last=./last --max-id=$(test -f ./last && cat ./last || echo "") --download-media=./posts --porcelain=true --threaded=true"
command="./mastodon-markdown-archive --template=../files/templates/foo.tmpl --user=https://paperbay.org/@a --dist=./posts --persist-last=./last --max-id=$(test -f ./last && cat ./last || echo "") --download-media=./posts --porcelain=true --threaded=true"
output=$($command)
if [[ "$output" -eq 0 ]]; then
echo "No posts returned. Exiting"