From 71d402c4bec9314fbafe1702c414566dbc2985b2 Mon Sep 17 00:00:00 2001 From: vitrinekast Date: Wed, 27 Mar 2024 17:34:32 +0000 Subject: [PATCH] more logs --- create_book.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/create_book.sh b/create_book.sh index af9758e..da34155 100644 --- a/create_book.sh +++ b/create_book.sh @@ -6,6 +6,12 @@ index=$(shuf -i 1-14 -n 1) echo "create_book.sh: using cover image" $index pandoc $2 -o /home/xpub/www/html/tl-dr/logged_book.epub -c print.css --metadata title="$1" --metadata author="/var/shelf" --epub-cover-image=assets/cover$index.jpg --epub-embed-font="fonts/Cascadia/ttf/CascadiaCode-Light.ttf" --epub-embed-font="fonts/Ductus/DuctusRegular.otf" + +echo "create_book.sh: pandoc'd a new epub to /home/xpub/www/html/tl-dr/logged_book.epub" cp /home/xpub/www/html/tl-dr/logged_book.epub /home/xpub/www/html/tl-dr/log-books/"$1".epub +echo "create_book.sh: and copied this over to /home/xpub/www/html/tl-dr/log-books/" $1 + ls log-books > /home/xpub/www/html/tl-dr/log-books/all.txt + +echo "create_book.sh: updated /home/xpub/www/html/tl-dr/log-books/all.txt"