feat(bash): improve proxmox detection

This commit is contained in:
Bradan J. Wolbeck 2026-07-26 16:18:37 -06:00
parent 06e7241a0f
commit c9efe04b17

View file

@ -25,6 +25,11 @@ if [[ -d /boot/efi/EFI/proxmox ]]; then
DISTRO='proxmox'
fi
# Non-UEFI installs... probably makes the above check redundant anyways.
if [[ $DISTRO != proxmox && -d /boot/pve ]]; then
DISTRO='proxmox'
fi
case "$DISTRO" in
proxmox|ubuntu)
DISTRO_COLOR='\[\e[38;5;208;3;4m\]'