From 0622ec62182fb7db41a5e001fe82834b3cb1f910 Mon Sep 17 00:00:00 2001 From: mikolaj92 <7442637+mikolaj92@users.noreply.github.com> Date: Tue, 10 Feb 2026 07:10:41 +0100 Subject: [PATCH] fix: address remaining PR review feedback MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Remove all section comments (beyond standardized header) - Fix heredoc: cat <file → cat <file - Replace apt-get with apt in cleanup - Add missing cleanup_lxc call at end Resolves remaining review comments from greptile-apps[bot] --- install/calibre-web-install.sh | 34 +++++----------------------------- 1 file changed, 5 insertions(+), 29 deletions(-) diff --git a/install/calibre-web-install.sh b/install/calibre-web-install.sh index 0f67f168e..7b336921a 100644 --- a/install/calibre-web-install.sh +++ b/install/calibre-web-install.sh @@ -13,10 +13,6 @@ setting_up_container network_check update_os -# ============================================================================= -# DEPENDENCIES - Calibre-Web requires Python and pip -# ============================================================================= - msg_info "Installing Dependencies" $STD apt install -y \ python3 \ @@ -28,44 +24,25 @@ $STD apt install -y \ fonts-liberation msg_ok "Installed Dependencies" -# ============================================================================= -# OPTIONAL - Install Calibre for eBook conversion -# ============================================================================= msg_info "Installing Calibre (for eBook conversion)" $STD apt install -y calibre msg_ok "Installed Calibre" -# ============================================================================= -# DOWNLOAD & DEPLOY APPLICATION -# ============================================================================= - msg_info "Setting up Calibre-Web" fetch_and_deploy_gh_release "calibre-web" "janeczku/calibre-web" "tarball" "latest" "/opt/calibre-web" msg_ok "Setup Calibre-Web" -# ============================================================================= -# INSTALL PYTHON DEPENDENCIES -# ============================================================================= - msg_info "Installing Python Dependencies" cd /opt/calibre-web $STD pip3 install --no-cache-dir -r requirements.txt msg_ok "Installed Python Dependencies" -# ============================================================================= -# CREATE DATA DIRECTORY -# ============================================================================= - msg_info "Creating Data Directory" mkdir -p /opt/calibre-web/data msg_ok "Created Data Directory" -# ============================================================================= -# CREATE SYSTEMD SERVICE -# ============================================================================= - msg_info "Creating Service" -cat </etc/systemd/system/calibre-web.service +cat <