Browse Source

Install targetted tag

master
Luke Murphy 4 years ago
parent
commit
7b0f3e7abb
No known key found for this signature in database GPG Key ID: 5E2EF5A63E3718CC
  1. 5
      bibliotecha.sh

5
bibliotecha.sh

@ -330,11 +330,16 @@ function install_calibreweb {
$APT_INSTALL_CMD git python3 python3-pip python3-dev python3-venv ghostscript $APT_INSTALL_CMD git python3 python3-pip python3-dev python3-venv ghostscript
calibre_web_url="https://github.com/janeczku/calibre-web" calibre_web_url="https://github.com/janeczku/calibre-web"
target_calibre_web_version="0.6.9"
if [ ! -d "$CALIBRE_WEB_PATH" ]; then if [ ! -d "$CALIBRE_WEB_PATH" ]; then
git clone "$calibre_web_url" "$CALIBRE_WEB_PATH" git clone "$calibre_web_url" "$CALIBRE_WEB_PATH"
fi fi
cd "$CALIBRE_WEB_PATH" && \
git fetch origin master -a && \
git checkout "$target_calibre_web_version"
if [ ! -d "$CALIBRE_WEB_PATH/.venv" ]; then if [ ! -d "$CALIBRE_WEB_PATH/.venv" ]; then
# shellcheck disable=SC1091 # shellcheck disable=SC1091
cd "$CALIBRE_WEB_PATH" && \ cd "$CALIBRE_WEB_PATH" && \

Loading…
Cancel
Save