Remove references to unused script

This commit is contained in:
Alex Cabal 2024-01-15 12:59:53 -06:00
parent eb83a8c22e
commit 4126db9c3e

View file

@ -7,7 +7,7 @@ DESCRIPTION
Deploy a Standard Ebook source repository to the web.
USAGE
deploy-ebook-to-www [-v,--verbose] [-g,--group GROUP] [--webroot WEBROOT] [--weburl WEBURL] [--no-images] [--no-build] [--no-epubcheck] [--no-recompose] [--no-feeds] [--no-bulk-downloads] [--upsert-to-cover-art-database] [-l,--last-push-hash HASH] DIRECTORY [DIRECTORY...]
deploy-ebook-to-www [-v,--verbose] [-g,--group GROUP] [--webroot WEBROOT] [--weburl WEBURL] [--no-images] [--no-build] [--no-epubcheck] [--no-recompose] [--no-feeds] [--no-bulk-downloads] [-l,--last-push-hash HASH] DIRECTORY [DIRECTORY...]
DIRECTORY is a bare source repository.
GROUP is a groupname. Defaults to "se".
WEBROOT is the path to your webroot. Defaults to "/standardebooks.org/web/www".
@ -39,8 +39,6 @@ USAGE
With --no-bulk-downloads, don't generate bulk download files.
With --upsert-to-cover-art-database, update/insert cover in the cover art database.
EOF
exit
}
@ -117,10 +115,6 @@ while [ $# -gt 0 ]; do
bulkDownloads="false"
shift 1
;;
--upsert-to-cover-art-database)
coverArtDatabase="true"
shift 1
;;
*) break ;;
esac
done
@ -156,10 +150,6 @@ if ! [ -f "${scriptsDir}"/generate-bulk-downloads ]; then
die "\"${scriptsDir}\"/generate-bulk-downloads\" is not a file or could not be found."
fi
if ! [ -f "${scriptsDir}"/upsert-to-cover-art-database ]; then
die "\"${scriptsDir}\"/upsert-to-cover-art-database\" is not a file or could not be found."
fi
mkdir -p "${webRoot}"/images/covers/
for dir in "$@"
@ -403,8 +393,6 @@ do
printf "Updating/inserting cover in the cover art database ... "
fi
"${scriptsDir}"/upsert-to-cover-art-database --repoDir "${repoDir}" --workDir "${workDir}" --ebookWwwFilesystemPath "${webDir}"
if [ "${verbose}" = "true" ]; then
printf "Done.\n"
fi