Browse Source
Don't fork because Debian Buster has Python > 3.5
master
No known key found for this signature in database
GPG Key ID: 5E2EF5A63E3718CC
1 changed files with
1 additions and
8 deletions
-
bibliotecha.sh
|
@ -315,17 +315,10 @@ function install_calibreweb { |
|
|
|
|
|
|
|
|
$APT_INSTALL_CMD git python3 python3-pip python3-dev python3-venv |
|
|
$APT_INSTALL_CMD git python3 python3-pip python3-dev python3-venv |
|
|
|
|
|
|
|
|
# TODO(decentral1se): So, we're temporarily forking calibre-web because we |
|
|
calibre_web_url="https://github.com/janeczku/calibre-web" |
|
|
# ran into https://github.com/janeczku/calibre-web/issues/951. Hopefully this |
|
|
|
|
|
# is resolved soon and we can continue on the regular upstream |
|
|
|
|
|
calibre_web_url="https://github.com/decentral1se/calibre-web" |
|
|
|
|
|
calibre_web_temp_branch="bibliotecha/temp-fork" |
|
|
|
|
|
|
|
|
|
|
|
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" |
|
|
cd "$CALIBRE_WEB_PATH" && \ |
|
|
|
|
|
git fetch origin && \ |
|
|
|
|
|
git checkout "origin/$calibre_web_temp_branch" |
|
|
|
|
|
fi |
|
|
fi |
|
|
|
|
|
|
|
|
if [ ! -d "$CALIBRE_WEB_PATH/.venv" ]; then |
|
|
if [ ! -d "$CALIBRE_WEB_PATH/.venv" ]; then |
|
|