error message re: unable to delete
This commit is contained in:
parent
9fd1578a7e
commit
32268cd2a9
@ -311,8 +311,12 @@ if [ $TRANSFER ] ; then
|
|||||||
"$GITEAHOST/api/v1/repos/$SOURCEORG/$TARGETPKG" \
|
"$GITEAHOST/api/v1/repos/$SOURCEORG/$TARGETPKG" \
|
||||||
-H 'accept: application/json' \
|
-H 'accept: application/json' \
|
||||||
-H "Authorization: token $GITEAACCESSTOKEN" )
|
-H "Authorization: token $GITEAACCESSTOKEN" )
|
||||||
|
if [[ $RESPONSE != "204" ]] ; then
|
||||||
|
echo "Unable to delete $SOURCEORG/$TARGETPKG ($RESPONSE)"
|
||||||
|
else
|
||||||
EXISTS=
|
EXISTS=
|
||||||
fi
|
fi
|
||||||
|
fi
|
||||||
else
|
else
|
||||||
if [ $DEBUG ] ; then echo "Repository for $SOURCEORG/$TARGETPKG does not exist on $GITEAHOST" ; fi
|
if [ $DEBUG ] ; then echo "Repository for $SOURCEORG/$TARGETPKG does not exist on $GITEAHOST" ; fi
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user