views:

42

answers:

1

Hi *,

I'm trying to find out if my install scrip is running on a Mac or Linux device.

Can someone give me a hint?

Thanks Burntime

+4  A: 

Check out the uname program. On linux uname returns 'Linux', on Leopard it returns 'Darwin'

Jeff Paquette
thx it was to easy ;)
Burntime