mirror of
https://github.com/standardebooks/web.git
synced 2025-07-08 07:40:39 -04:00
Remove references to unused script
This commit is contained in:
parent
eb83a8c22e
commit
4126db9c3e
1 changed files with 1 additions and 13 deletions
|
@ -7,7 +7,7 @@ DESCRIPTION
|
||||||
Deploy a Standard Ebook source repository to the web.
|
Deploy a Standard Ebook source repository to the web.
|
||||||
|
|
||||||
USAGE
|
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.
|
DIRECTORY is a bare source repository.
|
||||||
GROUP is a groupname. Defaults to "se".
|
GROUP is a groupname. Defaults to "se".
|
||||||
WEBROOT is the path to your webroot. Defaults to "/standardebooks.org/web/www".
|
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 --no-bulk-downloads, don't generate bulk download files.
|
||||||
|
|
||||||
With --upsert-to-cover-art-database, update/insert cover in the cover art database.
|
|
||||||
|
|
||||||
EOF
|
EOF
|
||||||
exit
|
exit
|
||||||
}
|
}
|
||||||
|
@ -117,10 +115,6 @@ while [ $# -gt 0 ]; do
|
||||||
bulkDownloads="false"
|
bulkDownloads="false"
|
||||||
shift 1
|
shift 1
|
||||||
;;
|
;;
|
||||||
--upsert-to-cover-art-database)
|
|
||||||
coverArtDatabase="true"
|
|
||||||
shift 1
|
|
||||||
;;
|
|
||||||
*) break ;;
|
*) break ;;
|
||||||
esac
|
esac
|
||||||
done
|
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."
|
die "\"${scriptsDir}\"/generate-bulk-downloads\" is not a file or could not be found."
|
||||||
fi
|
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/
|
mkdir -p "${webRoot}"/images/covers/
|
||||||
|
|
||||||
for dir in "$@"
|
for dir in "$@"
|
||||||
|
@ -403,8 +393,6 @@ do
|
||||||
printf "Updating/inserting cover in the cover art database ... "
|
printf "Updating/inserting cover in the cover art database ... "
|
||||||
fi
|
fi
|
||||||
|
|
||||||
"${scriptsDir}"/upsert-to-cover-art-database --repoDir "${repoDir}" --workDir "${workDir}" --ebookWwwFilesystemPath "${webDir}"
|
|
||||||
|
|
||||||
if [ "${verbose}" = "true" ]; then
|
if [ "${verbose}" = "true" ]; then
|
||||||
printf "Done.\n"
|
printf "Done.\n"
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue