Add rpmspec test

This commit is contained in:
Brian Read 2024-03-11 19:31:47 +00:00
parent a90599279b
commit c690004aca

View File

@ -14,6 +14,15 @@ if [[ -z $1 ]] ; then
exit 0
fi
#Needs /usr/bin/rpmspec
if command -v /usr/bin/rpmspec > /dev/null; then
if [ $DEBUG ] ; then echo "************rpmspec is installed" ; fi
else
echo "ERROR********************** rpmspec is not installed ******************"
exit 1
fi
#
# Pull in parameters from a config file ~/.smegit/config
#