Skip to content

Commit

Permalink
fix: fix wrong usage of variable
Browse files Browse the repository at this point in the history
  • Loading branch information
AlvinSchiller committed Dec 28, 2024
1 parent d845bd3 commit 1712e2a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions installation/includes/02_helpers.sh
Original file line number Diff line number Diff line change
Expand Up @@ -106,8 +106,7 @@ is_debian_version_at_least() {

_get_boot_file_path() {
local filename="$1"
local is_debian_version_number_at_least_12=$(is_debian_version_at_least 12)
if [ "$(is_debian_version_number_at_least_12)" = true ]; then
if [ "$(is_debian_version_at_least 12)" = true ]; then
echo "/boot/firmware/${filename}"
else
echo "/boot/${filename}"
Expand Down

0 comments on commit 1712e2a

Please sign in to comment.