On 07/05/13 18:56, Jay Sorg wrote:
>> The usual thing is to look in /etc for redhat-release, debian_version or
>> SuSE-release. Then depending on what you find install stuff where
>> required with some default if none of the above. It also gives you the
>> option of doing something different if say RHEL5 is different from RHEL6
>> by looking at the contents of the file.
>
>
>
> Ah, thanks Jonathan, I was looking for something like this.
> I changed startem.sh to autodetect but when a session is started but
> we can't do that with the pam file.
>
> Is it OK for 'make install' to look for these files and install the correct 
> one?
>

Absolutely, it is standard practice in just about every installer that I 
have come across. As long as there is some sensible default behaviour if 
none of the above are detected it is normal practice.

JAB.

-- 
Jonathan A. Buzzard                 Email: jonathan (at) buzzard.me.uk
Fife, United Kingdom.

------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and 
their applications. This 200-page book is written by three acclaimed 
leaders in the field. The early access version is available now. 
Download your free book today! http://p.sf.net/sfu/neotech_d2d_may
_______________________________________________
xrdp-devel mailing list
xrdp-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xrdp-devel

Reply via email to