From 25350020b2a8400acc66af085a7185aa572fa75f Mon Sep 17 00:00:00 2001 From: Alvin Schiller <103769832+AlvinSchiller@users.noreply.github.com> Date: Thu, 7 Nov 2024 12:16:49 +0100 Subject: [PATCH] merge fixes --- installation/includes/02_helpers.sh | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/installation/includes/02_helpers.sh b/installation/includes/02_helpers.sh index c0d343d04..440e10b08 100644 --- a/installation/includes/02_helpers.sh +++ b/installation/includes/02_helpers.sh @@ -95,14 +95,13 @@ _get_debian_version_number() { is_debian_version_at_least() { local expected_version=$1 - if [ "$(is_raspbian)" = true ]; then - local debian_version_number=$(get_debian_version_number) + local debian_version_number=$(get_debian_version_number) - if [ "$debian_version_number" -ge "$expected_version" ]; then - echo true - fi + if [ "$debian_version_number" -ge "$expected_version" ]; then + echo true + else + echo false fi - echo false } _get_boot_file_path() {