UX bugfix: on first run we display some warnings if userspace is unsupported. It broke down.

Since expanding distribution status with upgrade target, this condition stop working

Related: https://github.com/armbian/build/pull/7303
This commit is contained in:
Igor Pecovnik 2024-11-03 09:41:42 +01:00 committed by Igor
parent 6cf475cb90
commit 01218eefa4
1 changed files with 1 additions and 1 deletions

View File

@ -11,7 +11,7 @@
[[ -f /etc/lsb-release ]] && . /etc/lsb-release
[[ -f /etc/os-release ]] && . /etc/os-release
[[ -z "$DISTRIB_CODENAME" ]] && DISTRIB_CODENAME="${VERSION_CODENAME}"
[[ -n "$DISTRIB_CODENAME" && -f /etc/armbian-distribution-status ]] && DISTRIBUTION_STATUS=$(grep "$DISTRIB_CODENAME" /etc/armbian-distribution-status | cut -d"=" -f2)
[[ -n "$DISTRIB_CODENAME" && -f /etc/armbian-distribution-status ]] && DISTRIBUTION_STATUS=$(grep "$DISTRIB_CODENAME" /etc/armbian-distribution-status | cut -d"=" -f2 | cut -d";" -f1)
. /etc/armbian-release