Apply suggestions from code review

Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
This commit is contained in:
Thiago Canozzo Lahr
2026-02-23 14:02:23 -03:00
committed by GitHub
parent 4ac0afbe98
commit 793c2ded02
2 changed files with 13 additions and 15 deletions

View File

@@ -6,18 +6,18 @@ source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxV
# Source: https://github.com/immichFrame/ImmichFrame # Source: https://github.com/immichFrame/ImmichFrame
APP="ImmichFrame" APP="ImmichFrame"
var_tags="${var_tags:-photos;slideshow}" # Max 2 tags, semicolon-separated var_tags="${var_tags:-photos;slideshow}"
var_cpu="${var_cpu:-1}" # CPU cores: 1-4 typical var_cpu="${var_cpu:-1}"
var_ram="${var_ram:-1024}" # RAM in MB: 512, 1024, 2048, etc. var_ram="${var_ram:-1024}"
var_disk="${var_disk:-8}" # Disk in GB: 6, 8, 10, 20 typical var_disk="${var_disk:-8}"
var_os="${var_os:-debian}" # OS: debian, ubuntu, alpine var_os="${var_os:-debian}"
var_version="${var_version:-13}" # OS Version: 13 (Debian), 24.04 (Ubuntu), 3.21 (Alpine) var_version="${var_version:-13}"
var_unprivileged="${var_unprivileged:-1}" # 1=unprivileged (secure), 0=privileged (for Docker/Podman) var_unprivileged="${var_unprivileged:-1}"
header_info "$APP" # Display app name and setup header header_info "$APP"
variables # Initialize build.func variables variables
color # Load color variables for output color
catch_errors # Enable error handling with automatic exit on failure catch_errors
function update_script() { function update_script() {
header_info header_info

View File

@@ -243,10 +243,8 @@ echo "${RELEASE}" > /app/version.txt
msg_ok "Version ${RELEASE} Saved" msg_ok "Version ${RELEASE} Saved"
msg_info "Cleaning Up Build Artifacts" msg_info "Cleaning Up Build Artifacts"
#rm -rf /tmp/immichframe.tar.gz "${SRCDIR}" $STD apt clean
msg_ok "Cleanup Complete"
#$STD apt-get autoremove -y
$STD apt-get clean
msg_ok "Cleanup Complete" msg_ok "Cleanup Complete"
motd_ssh motd_ssh