diff --git a/homeassistant-supervised/DEBIAN/preinst b/homeassistant-supervised/DEBIAN/preinst index 83eaff4..24676e7 100755 --- a/homeassistant-supervised/DEBIAN/preinst +++ b/homeassistant-supervised/DEBIAN/preinst @@ -13,7 +13,7 @@ warn "" # Check if we are running on a supported OS BYPASS_OS_CHECK=${BYPASS_OS_CHECK:-false} CURRENT_OS=$(lsb_release -d) -if [[ $CURRENT_OS != *"Debian GNU/Linux 11 (bullseye)"* ]]; then +if [[ $CURRENT_OS != *"bullseye"* ]]; then # Strip first feild of string CURRENT_OS=$(echo $CURRENT_OS | cut -d' ' -f2-) if [[ $BYPASS_OS_CHECK != "true" ]]; then