Use curl instead of wget
This commit is contained in:
@@ -47,7 +47,7 @@ msg_info "Installing Calibre-Web (Patience)"
|
||||
rm -rf /usr/lib/python3.*/EXTERNALLY-MANAGED
|
||||
mkdir -p /opt/calibre-web
|
||||
$STD apt-get install -y calibre
|
||||
$STD wget https://github.com/janeczku/calibre-web/raw/master/library/metadata.db -P /opt/calibre-web
|
||||
$STD curl -fsSL -o /opt/calibre-web/metadata.db https://github.com/janeczku/calibre-web/raw/master/library/metadata.db
|
||||
$STD pip install calibreweb[goodreads,metadata,kobo]
|
||||
$STD pip install jsonschema
|
||||
msg_ok "Installed Calibre-Web"
|
||||
@@ -81,7 +81,7 @@ $STD git clone https://github.com/crocodilestick/Calibre-Web-Automated.git /opt/
|
||||
cd /opt/cwa
|
||||
$STD git checkout V${RELEASE}
|
||||
$STD pip install -r requirements.txt
|
||||
wget -q https://gist.githubusercontent.com/vhsdream/2e81afeff139c5746db1ede88c01cc7b/raw/51238206e87aec6c0abeccce85dec9f2b0c89000/proxmox-lxc.patch -O /opt/cwa.patch # not for production
|
||||
curl -fsSL https://gist.githubusercontent.com/vhsdream/2e81afeff139c5746db1ede88c01cc7b/raw/51238206e87aec6c0abeccce85dec9f2b0c89000/proxmox-lxc.patch -O /opt/cwa.patch # not for production
|
||||
$STD git apply --whitespace=fix /opt/cwa.patch # not for production
|
||||
cd scripts
|
||||
chmod +x check-cwa-services.sh ingest-service.sh change-detector.sh
|
||||
|
||||
Reference in New Issue
Block a user