On Fri, 2005-08-19 at 11:58 -0600, Philip Prindeville wrote: > I'm trying to tweak a package so that it autodetects when it's being > built under Redhat/Fedora (et al) and does the right thing. > > Is there a simple and foolproof test for this? Have it depend on the redhat-release RPM. Using the existance or contents of /etc/redhat-release is not recommended because it can easily be removed, renamed, or changed. Thomas