mirror of
https://github.com/standardebooks/web.git
synced 2025-07-19 12:54:48 -04:00
Don't call update-ebook-database with verbose flag
`./scripts/update-ebook-database --verbose` should be for low-level debugging only
This commit is contained in:
parent
2098b265a8
commit
fc4a509b0d
1 changed files with 1 additions and 3 deletions
|
@ -387,13 +387,11 @@ do
|
||||||
mv "${imgWorkDir}/${urlSafeIdentifier}"*.{jpg,avif} "${webRoot}/images/covers/"
|
mv "${imgWorkDir}/${urlSafeIdentifier}"*.{jpg,avif} "${webRoot}/images/covers/"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
verboseDbFlag=""
|
|
||||||
if [ "${verbose}" = "true" ]; then
|
if [ "${verbose}" = "true" ]; then
|
||||||
verboseDbFlag="--verbose"
|
|
||||||
printf "Updating/inserting ebook in database ... "
|
printf "Updating/inserting ebook in database ... "
|
||||||
fi
|
fi
|
||||||
|
|
||||||
"${scriptsDir}"/update-ebook-database "${verboseDbFlag}" --ebookWwwFilesystemPath "${webDir}"
|
"${scriptsDir}"/update-ebook-database --ebookWwwFilesystemPath "${webDir}"
|
||||||
|
|
||||||
if [ "${verbose}" = "true" ]; then
|
if [ "${verbose}" = "true" ]; then
|
||||||
printf "Done.\n"
|
printf "Done.\n"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue