Skip to content

Commit

Permalink
Debian testing fix
Browse files Browse the repository at this point in the history
  • Loading branch information
adrelanos committed Aug 15, 2023
1 parent 371c6c5 commit 262d332
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions usr/bin/installer-dist
Expand Up @@ -373,6 +373,11 @@ get_os(){
## Also because we check for distribution version to abort if necessary.
fi

if [ "$distro_version" = "n/a" ]; then
## In Debian testing distro_version can be 'n/a'.
return 0
fi

distro_version_without_dot="$(echo "${distro_version}" | tr -d ".")"
is_integer "${distro_version_without_dot}" ||
die 101 "${underline}Distribution Check:${nounderline} Distribution version without dot is still not a number: '${distro_version_without_dot}'"
Expand Down

0 comments on commit 262d332

Please sign in to comment.