From 3af57f7bf95460524708e5bee334aeb5e770ccf3 Mon Sep 17 00:00:00 2001 From: Sam Heinz <54530346+asylumexp@users.noreply.github.com> Date: Tue, 23 Jun 2026 19:28:59 +1000 Subject: [PATCH] Update post-pbs-install.sh --- tools/pve/post-pbs-install.sh | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/tools/pve/post-pbs-install.sh b/tools/pve/post-pbs-install.sh index 31f41a49b..9c4af7664 100644 --- a/tools/pve/post-pbs-install.sh +++ b/tools/pve/post-pbs-install.sh @@ -73,8 +73,6 @@ require_whiptail() { fi } -arch_is_arm64() { [[ "$(dpkg --print-architecture 2>/dev/null)" == "arm64" ]]; } - # ---- main ---- main() { header_info @@ -137,7 +135,7 @@ EOF no) msg_error "Selected no to Correcting Debian Sources" ;; esac - if arch_is_arm64; then + if [[ "$(dpkg --print-architecture 2>/dev/null)" == "arm64" ]]; then msg_ok "ARM64 detected - skipping Proxmox repository setup" post_routines_common return @@ -217,7 +215,7 @@ EOF no) msg_error "Selected no to Correcting Debian Sources" ;; esac - if arch_is_arm64; then + if [[ "$(dpkg --print-architecture 2>/dev/null)" == "arm64" ]]; then msg_ok "ARM64 detected - skipping Proxmox repository setup" post_routines_common return