3 UBUNTU_PACKAGES
=`dirname $0`/ubuntu.packages
7 if [ ! -e $UBUNTU_PACKAGES ]; then
8 echo ERROR
: Could not
find $UBUNTU_PACKAGES file for running check.
14 UBUNTU_PACKAGES_LIST
=`awk '{print $1}' $UBUNTU_PACKAGES | grep -v '^\s*#' | grep -v '^\s*$'`
15 for F
in $UBUNTU_PACKAGES_LIST; do
16 UBUNTU_PKG_POLICY
=`apt-cache policy $F | grep "Installed:"`
17 UBUNTU_PKG_VERSION
=`echo $UBUNTU_PKG_POLICY | awk '{print $2}'`
18 echo "$F = $UBUNTU_PKG_VERSION"