From 90ac66435cd4c53a6053fb26d470e86459f4f691 Mon Sep 17 00:00:00 2001 From: Davide Madrisan Date: Fri, 2 Mar 2012 23:34:14 +0100 Subject: [PATCH] pck-update: fix for "/usr/bin/pck-update: line 2458: package: command not found" Signed-off-by: Davide Madrisan --- ChangeLog | 6 ++++++ plugins/pck-update.in | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 71177c6..29c0043 100644 --- a/ChangeLog +++ b/ChangeLog @@ -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 diff --git a/plugins/pck-update.in b/plugins/pck-update.in index d4b490b..8e90cba 100644 --- a/plugins/pck-update.in +++ b/plugins/pck-update.in @@ -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?"