diff --git a/git-retag.sh b/git-retag.sh index a509a95..e7556e1 100755 --- a/git-retag.sh +++ b/git-retag.sh @@ -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 #