mirror of
https://github.com/xcat2/xcat-core.git
synced 2025-05-22 03:32:04 +00:00
Add a test for rpm-sign, which is required to successfullly build the deps package
This commit is contained in:
parent
ed6852a9e4
commit
b3490bf8a4
@ -49,6 +49,12 @@ if [ ! -d $GSA ]; then
|
||||
exit 1
|
||||
fi
|
||||
|
||||
REQPKG="rpm-sign"
|
||||
if [ `rpm -q $REQPKG >> /dev/null; echo $?` != 0 ]; then
|
||||
echo "ERROR: $REQPKG is required to successfully create the xcat-deps package. Install and rerun."
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# set grep to quiet by default
|
||||
GREP="grep -q"
|
||||
if [ "$VERBOSE" = "1" -o "$VERBOSE" = "yes" ]; then
|
||||
|
Loading…
x
Reference in New Issue
Block a user