[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 12:54:34 +0100 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.1 |
>>>>> "Rune" == Rune Mossige <runemo@stavanger.Geco-Prakla.slb.com> writes:
Rune> On (15/01/02 10:58), Adrian Phillips wrote: different way?
>> /usr/bin/test -x /bin/rpm && rpm -q ....
>>
>> should work nicely and will handle other linux variants than
>> rpm as well,
Rune> HandleItem("/usr/bin/test /bin/rpm && /bin/rpm -q
Rune> openmotif-2.1.30-8") Handling group item ("/usr/bin/test
Rune> /bin/rpm && /bin/rpm -q openmotif-2.1.30-8) in group
Rune> ((0@(0@), type=2 cfpopen(/usr/bin/test /bin/rpm &&
Rune> /bin/rpm -q openmotif-2.1.30-8) WGTS10:/usr/bin/test
Rune> /bin/rpm && /bin/cf:WGTS10:/var/cfengine/inputs/cfagent.con
Rune> f:138: Warning: invalid statement
Rune> cf:WGTS10:/var/cfengine/inputs/cfagent.conf:138: parse error
Rune> cf:WGTS10:/var/cfengine/inputs/cfagent.conf:138: Warning:
Rune> invalid statement
Rune> cf:WGTS10:/var/cfengine/inputs/cfagent.conf:138: parse error
Rune> rpm -q openmotif-2.1.30-8: /usr/bin/test: too many arguments
Forgot, you need /bin/sh -c '[ -x /bin/rpm ] && ...' for some reason
at least in 1.3.6
Sincerely,
Adrian
--
Your mouse has moved.
Windows NT must be restarted for the change to take effect.
Reboot now? [OK]
Re: Need assistance in determining if an rpm is installed, Alexander Mattausch, 2002/01/15
Re: Need assistance in determining if an rpm is installed, Ted Zlatanov, 2002/01/15