fix calibre container

This commit is contained in:
2018-01-15 17:58:03 +00:00
parent d2a74cbba8
commit b500b0c605
2 changed files with 5 additions and 3 deletions

View File

@@ -1,3 +1,3 @@
#!/bin/bash #!/bin/bash
set -e set -e
/usr/bin/calibre-server --with-library=$CALIBRE_LIBRARY > $CALIBRE_LOG /usr/bin/calibre-server $CALIBRE_LIBRARY > $CALIBRE_LOG

View File

@@ -3,8 +3,10 @@ export_env CALIBRE_LIBRARY /host/calibre/library
export_env CALIBRE_LOG /host/calibre.log export_env CALIBRE_LOG /host/calibre.log
## Dependencies ## Dependencies
apt_install_permanent python-qt4 xz-utils xdg-utils imagemagick apt_install_permanent python-qt4 xz-utils xdg-utils imagemagick libglu1
## Calibre ## Calibre
cd /opt 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()" wget https://download.calibre-ebook.com/linux-installer.py
unset http_proxy
python linux-installer.py