Skip to content

Commit

Permalink
CI: Replace deprecated distro.linux_distribution
Browse files Browse the repository at this point in the history
Change-Id: If0f3ab6f26aa774cf6176d992ec1180f2c0d7838
(cherry picked from commit 70742eb)
  • Loading branch information
priteau committed Nov 4, 2024
1 parent 7782d59 commit 0fff987
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@


def _is_apt():
info = distro.linux_distribution()
return info[0].startswith('Ubuntu')
info = distro.id()
return info == 'ubuntu'


def _is_dnf():
Expand Down

0 comments on commit 0fff987

Please # to comment.