Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Supports debian_version file content for version(best=True) calls #333

Merged
merged 1 commit into from
Jun 6, 2022

Commits on Jun 5, 2022

  1. Supports debian_version file content for version(best=True) calls

    From ansible/ansible#77928 and #332, it appeared that Debian >= 9 do not
    ship anymore the `MINOR` SemVer segment in `lsb_release`
    "distribution release" output.
    This means that setting `best=True` cannot be used to retrieve it, and
    thus behaves differently across Debian < 10 and Debian >= 10.
    
    This patch implements `/etc/debian_version` file parsing to workaround
    this issue, on "Debian-like" distributions.
    Samuel FORESTIER committed Jun 5, 2022
    Configuration menu
    Copy the full SHA
    2916dce View commit details
    Browse the repository at this point in the history