No known key found for this signature in database
GPG Key ID: 5E2EF5A63E3718CC
1 changed files with
5 additions and
0 deletions
-
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" && \ |
|
|