2
0
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:
Victor Hu 2018-11-15 10:02:58 -05:00
parent ed6852a9e4
commit b3490bf8a4

View File

@ -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