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:
parent
a2cbbf48ca
commit
90ac66435c
@ -8,6 +8,12 @@ Changes in version 1.9.3
|
|||||||
* templates/library - Davide Madrisan:
|
* templates/library - Davide Madrisan:
|
||||||
Modify requirement for pkgconfig (the package is now called pkg-config).
|
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
|
Changes in version 1.9.2
|
||||||
|
@ -2454,7 +2454,7 @@ $(rpm --qf %{name} -qf $solibpath_catch 2>/dev/null)" 2>/dev/null
|
|||||||
fi
|
fi
|
||||||
else
|
else
|
||||||
# unidentified requirement
|
# unidentified requirement
|
||||||
eval buildreq="$(\
|
buildreq="$(\
|
||||||
rpm -q --qf %{name} --whatprovides $req 2>/dev/null)"
|
rpm -q --qf %{name} --whatprovides $req 2>/dev/null)"
|
||||||
[ -z "$buildreq" -o $? -ne 0 ] &&
|
[ -z "$buildreq" -o $? -ne 0 ] &&
|
||||||
echo "#$req: not found; what is this?"
|
echo "#$req: not found; what is this?"
|
||||||
|
Loading…
Reference in New Issue
Block a user