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