diff --git a/ct/immichframe.sh b/ct/immichframe.sh index 270343fba..e8c297351 100644 --- a/ct/immichframe.sh +++ b/ct/immichframe.sh @@ -6,18 +6,18 @@ source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxV # Source: https://github.com/immichFrame/ImmichFrame APP="ImmichFrame" -var_tags="${var_tags:-photos;slideshow}" # Max 2 tags, semicolon-separated -var_cpu="${var_cpu:-1}" # CPU cores: 1-4 typical -var_ram="${var_ram:-1024}" # RAM in MB: 512, 1024, 2048, etc. -var_disk="${var_disk:-8}" # Disk in GB: 6, 8, 10, 20 typical -var_os="${var_os:-debian}" # OS: debian, ubuntu, alpine -var_version="${var_version:-13}" # OS Version: 13 (Debian), 24.04 (Ubuntu), 3.21 (Alpine) -var_unprivileged="${var_unprivileged:-1}" # 1=unprivileged (secure), 0=privileged (for Docker/Podman) +var_tags="${var_tags:-photos;slideshow}" +var_cpu="${var_cpu:-1}" +var_ram="${var_ram:-1024}" +var_disk="${var_disk:-8}" +var_os="${var_os:-debian}" +var_version="${var_version:-13}" +var_unprivileged="${var_unprivileged:-1}" -header_info "$APP" # Display app name and setup header -variables # Initialize build.func variables -color # Load color variables for output -catch_errors # Enable error handling with automatic exit on failure +header_info "$APP" +variables +color +catch_errors function update_script() { header_info diff --git a/install/immichframe-install.sh b/install/immichframe-install.sh index b5f3ad417..c227a2f54 100644 --- a/install/immichframe-install.sh +++ b/install/immichframe-install.sh @@ -243,10 +243,8 @@ echo "${RELEASE}" > /app/version.txt msg_ok "Version ${RELEASE} Saved" msg_info "Cleaning Up Build Artifacts" -#rm -rf /tmp/immichframe.tar.gz "${SRCDIR}" - -#$STD apt-get autoremove -y -$STD apt-get clean +$STD apt clean +msg_ok "Cleanup Complete" msg_ok "Cleanup Complete" motd_ssh