From 5ec6d35c8bf7ea6003944220f676ae1d0ffe40ea Mon Sep 17 00:00:00 2001 From: Bo Bartlett Date: Sun, 27 Sep 2026 11:46:24 -0500 Subject: [PATCH] fix(autocaliweb): define INSTALL_DIR before first use (#17545) setup_uv was called with $INSTALL_DIR on the line before INSTALL_DIR was ever assigned, causing every install to fail with: bash: line 58: INSTALL_DIR: unbound variable --- install/autocaliweb-install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install/autocaliweb-install.sh b/install/autocaliweb-install.sh index 9b950f7e5..0976352c7 100644 --- a/install/autocaliweb-install.sh +++ b/install/autocaliweb-install.sh @@ -54,11 +54,11 @@ $STD /opt/calibre/calibre_postinstall CALIBRE_VERSION=$(cat ~/.calibre) msg_ok "Installed Calibre" +INSTALL_DIR="/opt/autocaliweb" fetch_and_deploy_codeberg_release "autocaliweb" "gelbphoenix/autocaliweb" "tarball" "latest" "/opt/autocaliweb" setup_uv $INSTALL_DIR msg_info "Configuring Autocaliweb" -INSTALL_DIR="/opt/autocaliweb" CONFIG_DIR="/etc/autocaliweb" CALIBRE_LIB_DIR="/opt/calibre-library" INGEST_DIR="/opt/acw-book-ingest"