help-cfengine
[Top][All Lists]
Advanced

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

Re: Need assistance in determining if an rpm is installed


From: Rune Mossige
Subject: Re: Need assistance in determining if an rpm is installed
Date: Tue, 15 Jan 2002 11:02:21 +0100
User-agent: Mutt/1.2.5i

On (15/01/02 10:58), Adrian Phillips wrote:
> To: Rune Mossige <runemo@stavanger.geco-prakla.slb.com>
> Cc: help-cfengine@gnu.org
> Subject: Re: Need assistance in determining if an rpm is installed
> From: Adrian Phillips <a.phillips@dnmi.no>
> Date: 15 Jan 2002 10:58:13 +0100
> Lines: 22
> User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1
> Sender: "Adrian Phillips,,," <a.phillips@dnmi.no>
> X-Virus-Scanned: by AMaViS snapshot-20010714
> 
> >>>>> "Rune" == Rune Mossige <runemo@stavanger.Geco-Prakla.slb.com> writes:
>     Rune> I do not know for sure...I thought this was allowed? If not,
>     Rune> how do I then get different tests to run on different OS'es?
> 
> It isn't allowed in 1.6 at least.
> 
>     Rune> Do You have a suggestion of how to do this task in a
>     Rune> different way?
> 
> /usr/bin/test -x /bin/rpm && rpm -q ....

Thanks for the tip. I will give this a try.

> 
> should work nicely and will handle other linux variants than rpm as
> well,
> 
> Sincerely,
> 
> Adrian Phillips
> 
> -- 
> Your mouse has moved.
> Windows NT must be restarted for the change to take effect.
> Reboot now?  [OK]
> 

-- 
-------------------------------------------------------------------
           (-: Hiroshima 45, Chernobyl 86, Windows 95 :-)
Our ultimate goal is to make overloaded systems appear to be idle.
High performance, High reliability, Low cost -------- Pick any two.
-------------------------------------------------------------------
Rune  Mossige,  Systems  Support  Engineer,  WesternGeco, Stavanger
Tel: (+47)51946869                             Mobile:(+47)90871024



reply via email to

[Prev in Thread] Current Thread [Next in Thread]