From b500b0c6053b1cfa3102d79faa3aaec17e8ff1aa Mon Sep 17 00:00:00 2001 From: Rik Veenboer Date: Mon, 15 Jan 2018 17:58:03 +0000 Subject: [PATCH] fix calibre container --- build/runit/calibre | 2 +- build/scripts/calibre.sh | 6 ++++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/build/runit/calibre b/build/runit/calibre index ff381db..13ffff5 100644 --- a/build/runit/calibre +++ b/build/runit/calibre @@ -1,3 +1,3 @@ #!/bin/bash set -e -/usr/bin/calibre-server --with-library=$CALIBRE_LIBRARY > $CALIBRE_LOG \ No newline at end of file +/usr/bin/calibre-server $CALIBRE_LIBRARY > $CALIBRE_LOG \ No newline at end of file diff --git a/build/scripts/calibre.sh b/build/scripts/calibre.sh index a07a05a..6bc767f 100644 --- a/build/scripts/calibre.sh +++ b/build/scripts/calibre.sh @@ -3,8 +3,10 @@ export_env CALIBRE_LIBRARY /host/calibre/library export_env CALIBRE_LOG /host/calibre.log ## Dependencies -apt_install_permanent python-qt4 xz-utils xdg-utils imagemagick +apt_install_permanent python-qt4 xz-utils xdg-utils imagemagick libglu1 ## Calibre cd /opt -wget --no-check-certificate-nv -O- http://download.calibre-ebook.com/linux-installer.py | python -c "import sys; main=lambda:sys.stderr.write('Download failed\n'); exec(sys.stdin.read()); main()" \ No newline at end of file +wget https://download.calibre-ebook.com/linux-installer.py +unset http_proxy +python linux-installer.py \ No newline at end of file