Skip to content

Commit

Permalink
UX bugfix: on first run we display some warnings if userspace is unsu…
Browse files Browse the repository at this point in the history
…pported. It broke down.

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

Related: #7303
  • Loading branch information
igorpecovnik committed Nov 3, 2024
1 parent a7363f6 commit 783a0f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/bsp/common/usr/lib/armbian/armbian-firstlogin
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 783a0f3

Please sign in to comment.