fix paths

This commit is contained in:
2025-05-02 13:59:57 -07:00
parent f650353cf9
commit df318c0a46
2 changed files with 2 additions and 1 deletions

View File

@@ -1,6 +1,6 @@
#!/usr/bin/env bash
echo $LIBRARY_PATH
rsync -avz aleph.gutenberg.org::gutenberg-epub/feeds/pg_catalog.csv .
rsync -avz aleph.gutenberg.org::gutenberg-epub/feeds/pg_catalog.csv $LIBRARY_PATH/
rsync -avz --delete --delete-excluded --exclude "/images/" --exclude "/pg/" --exclude "/retired/" --exclude "/cache/" --exclude "*/*-page-images/*" --exclude "*/*-page-images/" --exclude "*/old/*" --exclude "*/old/" --include "*/" --include "*.htm" --include "*.jpg" --include "*.png" --include "*.gif" --exclude "*" aleph.gutenberg.org::gutenberg $LIBRARY_PATH/html-src
rm html-src/hosted-by-ibiblio.png

View File

@@ -1,6 +1,7 @@
#!/usr/bin/env bash
source ./env
cd /app/updater
./update-mirror.sh
./db-update.py
./html-to-epub.sh