mirror of
https://github.com/standardebooks/web.git
synced 2025-07-07 15:20:32 -04:00
Only write the OPDS feed and updated timestamp if the feeds actually changed
This commit is contained in:
parent
1f6170d23a
commit
6252cff1e5
2 changed files with 30 additions and 10 deletions
|
@ -227,7 +227,7 @@ if [ "${verbose}" = "true" ]; then
|
|||
printf "Rebuilding OPDS catalog ... "
|
||||
fi
|
||||
|
||||
bash -c "php \"${scriptsDir}\"/generate-opds.php --webroot \"${webRoot}\" --weburl \"${webUrl}\" > \"${webRoot}\"/www/opds/all.xml"
|
||||
bash -c "php \"${scriptsDir}\"/generate-opds.php --webroot \"${webRoot}\" --weburl \"${webUrl}\""
|
||||
|
||||
if [ "${verbose}" = "true" ]; then
|
||||
printf "Done.\n"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue