[Libguestfs] distro checking

Richard W.M. Jones rjones at redhat.com
Mon Dec 3 22:09:27 UTC 2012

On Mon, Dec 03, 2012 at 08:36:50PM +0200, Evaggelos Balaskas wrote:
> NOT a problem,
> just a question about distro checking:
> the default value is REDHAT,
> then you check debian (or ubuntu)
> and then archlinux
> why are you using two if statements ?

It is only used here:


It's not a great solution TBH, but no one's come up with a better way :-)


Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
Read my programming blog: http://rwmj.wordpress.com
Fedora now supports 80 OCaml packages (the OPEN alternative to F#)

More information about the Libguestfs mailing list