tests - remove arch from multiarch packages
@@ -6,7 +6,7 @@ thisDir=$(readlink -e $(dirname "${BASH_SOURCE[0]}"))
echo "checking for musthave packages"
-if ! packages=$(grep -vf <(dpkg -l | awk '$1~/ii/ { print $2; next}') "${thisDir}/packages_musthave.list"); then
+if ! packages=$(grep -vf <(dpkg -l | awk '$1~/ii/ { split($2,s,":"); print s[1]; next}') "${thisDir}/packages_musthave.list"); then
echo "OK - all packages that must be installed are installed"
exit 0
else
