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

Re: [Libguestfs] distro checking



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:

https://github.com/libguestfs/libguestfs/blob/master/appliance/packagelist.in

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

Rich.

-- 
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#)
http://cocan.org/getting_started_with_ocaml_on_red_hat_and_fedora


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