Skip to content

Commit

Permalink
Fix check os
Browse files Browse the repository at this point in the history
  • Loading branch information
adeepn committed Jun 26, 2023
1 parent 999832d commit 0763442
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion homeassistant-supervised/DEBIAN/preinst
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 0763442

Please sign in to comment.