mirror of https://github.com/armbian/build.git
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:
parent
6cf475cb90
commit
01218eefa4
|
|
@ -11,7 +11,7 @@
|
||||||
[[ -f /etc/lsb-release ]] && . /etc/lsb-release
|
[[ -f /etc/lsb-release ]] && . /etc/lsb-release
|
||||||
[[ -f /etc/os-release ]] && . /etc/os-release
|
[[ -f /etc/os-release ]] && . /etc/os-release
|
||||||
[[ -z "$DISTRIB_CODENAME" ]] && DISTRIB_CODENAME="${VERSION_CODENAME}"
|
[[ -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
|
. /etc/armbian-release
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue