feat(bash): improve proxmox detection
This commit is contained in:
parent
06e7241a0f
commit
c9efe04b17
|
|
@ -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\]'
|
||||
|
|
|
|||
Loading…
Reference in a new issue