Hi,

does anybody know how to check if a package is installed using a script/
shell.

Unfortunately   eix -I -q  CAT/PACK
produces a return code of 0 irrespectively if CAT/PACK
is install or not.

I'd like to say

for P in  .......; do
  if  CHECK_IF_INSTALLED $P; then echo $P; fi
done

What to replace for  CHECK_IF_INSTALLED ?

Many thanks for a hint,
Helmut.

-- 
Helmut Jarausch

Lehrstuhl fuer Numerische Mathematik
RWTH - Aachen University
D 52056 Aachen, Germany

Reply via email to