Update calibre-server-install.sh

This commit is contained in:
CanbiZ 2025-01-09 16:05:23 +01:00 committed by GitHub
parent e917703ba6
commit 0433fd66bc
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -24,9 +24,7 @@ $STD apt-get install -y \
msg_ok "Installed Dependencies" msg_ok "Installed Dependencies"
msg_info "Installing Calibre" msg_info "Installing Calibre"
# If your container runs as root, you generally do not need to prefix with `sudo`. $STD bash -c "$(curl -fsSL https://download.calibre-ebook.com/linux-installer.sh)"
# The official Calibre instructions:
wget -nv -O- https://download.calibre-ebook.com/linux-installer.sh | sh /dev/stdin
useradd -c "Calibre Server" -d /opt/calibre -s /bin/bash -m calibre useradd -c "Calibre Server" -d /opt/calibre -s /bin/bash -m calibre
mkdir -p /opt/calibre/calibre-library mkdir -p /opt/calibre/calibre-library
chown -R calibre:calibre /opt/calibre chown -R calibre:calibre /opt/calibre