Roland Mas wrote: > Colin Watson (2003-03-04 14:06:07 +0000) : >>On Tue, Mar 04, 2003 at 02:14:59PM +0100, Bastian Kleineidam wrote: > How about the following? > BASH_VERSION=$(dpkg -s bash | awk '/^Version:/ { print $2 }') if [ "$(dpkg -s bash | awk '/^Status:/ { print $3 " " $4 }')" == "ok installed" ]
Cheers Thomas
pgpRuJ3bwh6G0.pgp
Description: PGP signature