On Monday 26 March 2007 15:36, Jules Colding wrote:

> So, how do I detect that I'm on gentoo? Anything like lsb_release
> here?? I can see that lsb in masked so I'm preferably looking for
> something that is present in most gentoo installations.

Well, not a very hi-tech solution, but I think that if you find files and 
directories like /usr/portage, /etc/gentoo-release, /etc/make.*, etc. 
you can reasonably assume you are running on gentoo.
-- 
gentoo-user@gentoo.org mailing list

Reply via email to