Update post-pbs-install.sh

This commit is contained in:
Sam Heinz
2026-06-23 19:28:59 +10:00
parent 4de808ab86
commit 3af57f7bf9
+2 -4
View File
@@ -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