[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [Cluster-devel] [PATCH 2/2] checkquorum.wdmd: add integration script with wdmd



Am 10.10.2012 10:11, schrieb Fabio M. Di Nitto:
> [snip]
> that doesn´t scale well for debian derivates that don´t ship
> debian_version :) (see ubuntu & co..)
>
> You can´t even use something like "which dpkg" since the tool is
> available on rpm based distributions... or viceversa.. there is rpm for
> Debian & derivates.
>
> hardcoding all distributions is not optimal either, as they might change
> policy by version....
>
> Fabio
>

What about 'lsb_release'? Is that executable available on all platforms?

Heiko


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]