Fix printing of correct dependency name of dependencies.
--HG-- extra : convert_revision : d4a99cfc35c4409f7c848a89506236fdb88a9946
This commit is contained in:
parent
38c3650623
commit
58a9a990e9
|
@ -33,14 +33,11 @@ install_pkg_deps()
|
|||
{
|
||||
local curpkg="$1"
|
||||
local saved_prevpkg=$(xbps-pkgdb getpkgname ${2})
|
||||
local curpkgname=$(xbps-pkgdb getpkgname ${curpkg})
|
||||
local j=
|
||||
local jver=
|
||||
local jname=
|
||||
local reqver=
|
||||
local curpkgname j jver jname reqver
|
||||
|
||||
[ -z "$curpkg" ] && return 1
|
||||
[ -n "$prev_pkg" ] && curpkg=$prev_pkg
|
||||
curpkgname=$(xbps-pkgdb getpkgname ${curpkg})
|
||||
|
||||
run_template $curpkgname
|
||||
|
||||
|
|
Loading…
Reference in New Issue