find-package: changed "not found" diagnostics to "not installed"

This commit is contained in:
Alexey Tourbin 2009-06-05 03:34:40 +04:00
parent a55bb554aa
commit 70ab659464

View File

@ -215,8 +215,12 @@ FindByPath()
fi
fi
# Not found; output raw dependence.
Info "$f: $rep -> $rep (raw, not found)"
if [ -e "$rep" ] || rpmquery --whatprovides -- "$rep" >/dev/null 2>&1; then
$Verbose "$f: $rep -> $rep (raw)"
else
Info "$f: $rep -> $rep (raw, not installed)"
fi
printf %s\\n "$rep"
}