Package: zsh Severity: wishlist % echo $VENDOR pc This should print something useful, for example, 'debian'. ID in /etc/os-release or /usr/lib/os-release if the former does not exist looks like the correct value, a possible fallback if both do not exist is 'unknown'.