Install targetted tag
This commit is contained in:
parent
820366b42d
commit
7b0f3e7abb
@ -330,11 +330,16 @@ function install_calibreweb {
|
||||
$APT_INSTALL_CMD git python3 python3-pip python3-dev python3-venv ghostscript
|
||||
|
||||
calibre_web_url="https://github.com/janeczku/calibre-web"
|
||||
target_calibre_web_version="0.6.9"
|
||||
|
||||
if [ ! -d "$CALIBRE_WEB_PATH" ]; then
|
||||
git clone "$calibre_web_url" "$CALIBRE_WEB_PATH"
|
||||
fi
|
||||
|
||||
cd "$CALIBRE_WEB_PATH" && \
|
||||
git fetch origin master -a && \
|
||||
git checkout "$target_calibre_web_version"
|
||||
|
||||
if [ ! -d "$CALIBRE_WEB_PATH/.venv" ]; then
|
||||
# shellcheck disable=SC1091
|
||||
cd "$CALIBRE_WEB_PATH" && \
|
||||
|
Loading…
Reference in New Issue
Block a user