Skip to content

Commit

Permalink
Support Buster and future Raspbian versions in the installer
Browse files Browse the repository at this point in the history
Reverse installer logic to exclude Jessie only from allowing installation.

Change-type: patch
Signed-off-by: Zahari Petkov <zahari@balena.io>
  • Loading branch information
majorz committed Oct 23, 2019
1 parent 4be6dd3 commit 285c339
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/raspbian-install.sh
Expand Up @@ -69,8 +69,8 @@ check_os_version() {
_version=$(grep -oP 'VERSION="\K[^"]+' /etc/os-release)
fi

if [ "$_version" != "9 (stretch)" ]; then
err "Distribution not based on Debian 9 (stretch)"
if [ "$_version" == "8 (jessie)" ]; then
err "Distributions based on Debian 8 (jessie) are not supported"
fi
}

Expand Down

0 comments on commit 285c339

Please sign in to comment.