purge.sh: Try without trailing '/'s

This commit is contained in:
Tom Wiesing 2022-03-08 13:16:13 +01:00
parent 1f71c8d4b1
commit d10a359b49
No known key found for this signature in database
GPG key ID: DC1F29F2BC78AB15

View file

@ -52,10 +52,10 @@ dockerized_mysql -e "FLUSH PRIVILEGES;"
# Clear the GraphDB repository. # Clear the GraphDB repository.
log_info " => Deleting GraphDB repository '$GRAPHDB_REPO'" log_info " => Deleting GraphDB repository '$GRAPHDB_REPO'"
curl $GRAPHDB_AUTH_FLAGS -X DELETE http://127.0.0.1:7200/rest/repositories/$GRAPHDB_REPO/ curl $GRAPHDB_AUTH_FLAGS -X DELETE http://127.0.0.1:7200/rest/repositories/$GRAPHDB_REPO
log_info " => Deleting GraphDB user '$GRAPHDB_USER'" log_info " => Deleting GraphDB user '$GRAPHDB_USER'"
curl $GRAPHDB_AUTH_FLAGS -X DELETE http://127.0.0.1:7200/rest/security/user/$GRAPHDB_USER/ curl $GRAPHDB_AUTH_FLAGS -X DELETE http://127.0.0.1:7200/rest/security/user/$GRAPHDB_USER
# Delete the directory # Delete the directory