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

Re: %post and uname



On Friday, February 23, 2001 14:04:21 -0800, Joseph Cheek <joseph@cheek.com> wrote:
+-----
| i believe you can check for /etc/redhat-release or /etc/suse-release
+--->8


/etc/redhat-release or /etc/SuSE-release. If you want to check for packqges instead, it's redhat-release; there is no equivalent package in SuSE aside from aaa_base, although you could check for yast instead. I don't know how to detect Mandrake or Caldera, not having used either.

--
brandon s. allbery     [os/2][linux][solaris][japh]   allbery@kf8nh.apk.net
system administrator        [WAY too many hats]         allbery@ece.cmu.edu
electrical and computer engineering                                   KF8NH
carnegie mellon university     ["better check the oblivious first" -ke6sls]





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