pck-update: fix for "/usr/bin/pck-update: line 2458: package: command not found"

Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
This commit is contained in:
Davide Madrisan 2012-03-02 23:34:14 +01:00
parent a2cbbf48ca
commit 90ac66435c
2 changed files with 7 additions and 1 deletions

View File

@ -8,6 +8,12 @@ Changes in version 1.9.3
* templates/library - Davide Madrisan:
Modify requirement for pkgconfig (the package is now called pkg-config).
+ bugfix
* pck-update - Davide Madrisan:
Fix for the error message:
/usr/bin/pck-update: line 2458: package: command not found
(Problem pointed out by Silvan Calarco.)
--------------------------------------------------------------------------------
Changes in version 1.9.2

View File

@ -2454,7 +2454,7 @@ $(rpm --qf %{name} -qf $solibpath_catch 2>/dev/null)" 2>/dev/null
fi
else
# unidentified requirement
eval buildreq="$(\
buildreq="$(\
rpm -q --qf %{name} --whatprovides $req 2>/dev/null)"
[ -z "$buildreq" -o $? -ne 0 ] &&
echo "#$req: not found; what is this?"