fix calibre container
This commit is contained in:
@@ -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
|
||||||
@@ -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
|
||||||
Reference in New Issue
Block a user