From 0433fd66bcd516b33804fb35f88302e8ea7c6c06 Mon Sep 17 00:00:00 2001 From: CanbiZ <47820557+MickLesk@users.noreply.github.com> Date: Thu, 9 Jan 2025 16:05:23 +0100 Subject: [PATCH] Update calibre-server-install.sh --- install/calibre-server-install.sh | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/install/calibre-server-install.sh b/install/calibre-server-install.sh index 330a79b9..c9396f30 100644 --- a/install/calibre-server-install.sh +++ b/install/calibre-server-install.sh @@ -24,9 +24,7 @@ $STD apt-get install -y \ msg_ok "Installed Dependencies" msg_info "Installing Calibre" -# If your container runs as root, you generally do not need to prefix with `sudo`. -# The official Calibre instructions: -wget -nv -O- https://download.calibre-ebook.com/linux-installer.sh | sh /dev/stdin +$STD bash -c "$(curl -fsSL https://download.calibre-ebook.com/linux-installer.sh)" useradd -c "Calibre Server" -d /opt/calibre -s /bin/bash -m calibre mkdir -p /opt/calibre/calibre-library chown -R calibre:calibre /opt/calibre @@ -58,4 +56,4 @@ msg_info "Cleaning up" $STD apt-get -y autoremove $STD apt-get -y autoclean msg_ok "Cleaned" - \ No newline at end of file +