builddeps: improve min req deps printing.
--HG-- extra : convert_revision : 123d65cc4348fba54e3236a2f9109f4c145c6389
This commit is contained in:
parent
8df38b299b
commit
a27cfbf3c8
1 changed files with 6 additions and 3 deletions
|
@ -127,6 +127,8 @@ install_dependencies_pkg()
|
|||
{
|
||||
local pkg="$1"
|
||||
local i=
|
||||
local ipkg=
|
||||
local iversion=
|
||||
deps_list=
|
||||
installed_deps_list=
|
||||
|
||||
|
@ -144,12 +146,13 @@ install_dependencies_pkg()
|
|||
|
||||
msg_normal "Required minimal deps for $(basename $pkg):"
|
||||
for i in ${installed_deps_list}; do
|
||||
fpkg="$($XBPS_PKGDB_CMD list|awk '{print $1}'|grep -w ${i%-[0-9]*.*})"
|
||||
echo " $i: found $fpkg."
|
||||
ipkg="$($XBPS_PKGDB_CMD list|awk '{print $1}'|grep -w ${i%-[0-9]*.*})"
|
||||
iversion="$($XBPS_PKGDB_CMD version $ipkg)"
|
||||
echo " ${i%-[0-9]*.*} >= ${i##[aA-zZ]*-}: found $ipkg-$iversion."
|
||||
done
|
||||
|
||||
for i in ${deps_list}; do
|
||||
echo " $i: not found."
|
||||
echo " ${i%-[0-9]*.*} >= ${i##[aA-zZ]*-}: not found."
|
||||
done
|
||||
|
||||
for i in ${deps_list}; do
|
||||
|
|
Loading…
Reference in a new issue