distro icon indicating copy to clipboard operation
distro copied to clipboard

Can we detect base distribution with this module ?

Open 0ne-zero opened this issue 3 years ago • 1 comments

I was wondering is there any way to detect base distribution of distro ? I found base() method in issues but it seems has been removed #36 If we can't do it now, why?

0ne-zero avatar Aug 12 '22 23:08 0ne-zero

Hi @0ne-zero, if your distribution supports it, you can use distro.like method which is based on OS-RELEASE(5) ID_LIKE entry. It may contain space-separated identifiers, specified by distribution maintainers. Please tell us if this could help you.

HorlogeSkynet avatar Aug 13 '22 04:08 HorlogeSkynet

Thank you, It was everything that i need.

0ne-zero avatar Aug 13 '22 22:08 0ne-zero