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:
Mike Colagrosso 2024-05-20 22:34:32 -06:00 committed by Alex Cabal
parent 2098b265a8
commit fc4a509b0d

View file

@ -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"