mirror of
https://github.com/community-scripts/ProxmoxVE.git
synced 2026-09-28 07:07:17 +02:00
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
This commit is contained in:
@@ -54,11 +54,11 @@ $STD /opt/calibre/calibre_postinstall
|
|||||||
CALIBRE_VERSION=$(cat ~/.calibre)
|
CALIBRE_VERSION=$(cat ~/.calibre)
|
||||||
msg_ok "Installed Calibre"
|
msg_ok "Installed Calibre"
|
||||||
|
|
||||||
|
INSTALL_DIR="/opt/autocaliweb"
|
||||||
fetch_and_deploy_codeberg_release "autocaliweb" "gelbphoenix/autocaliweb" "tarball" "latest" "/opt/autocaliweb"
|
fetch_and_deploy_codeberg_release "autocaliweb" "gelbphoenix/autocaliweb" "tarball" "latest" "/opt/autocaliweb"
|
||||||
setup_uv $INSTALL_DIR
|
setup_uv $INSTALL_DIR
|
||||||
|
|
||||||
msg_info "Configuring Autocaliweb"
|
msg_info "Configuring Autocaliweb"
|
||||||
INSTALL_DIR="/opt/autocaliweb"
|
|
||||||
CONFIG_DIR="/etc/autocaliweb"
|
CONFIG_DIR="/etc/autocaliweb"
|
||||||
CALIBRE_LIB_DIR="/opt/calibre-library"
|
CALIBRE_LIB_DIR="/opt/calibre-library"
|
||||||
INGEST_DIR="/opt/acw-book-ingest"
|
INGEST_DIR="/opt/acw-book-ingest"
|
||||||
|
|||||||
Reference in New Issue
Block a user