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: Adrian Phillips
Subject: Re: Need assistance in determining if an rpm is installed
Date: 15 Jan 2002 10:58:13 +0100
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1

>>>>> "Rune" == Rune Mossige <address@hidden> 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 ....

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]



reply via email to

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