From d10a359b490db9c36752e8f3024ae475812aba51 Mon Sep 17 00:00:00 2001 From: Tom Wiesing Date: Tue, 8 Mar 2022 13:16:13 +0100 Subject: [PATCH] purge.sh: Try without trailing '/'s --- distillery/purge.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/distillery/purge.sh b/distillery/purge.sh index 8d9c3e9..6d5a09d 100755 --- a/distillery/purge.sh +++ b/distillery/purge.sh @@ -52,10 +52,10 @@ dockerized_mysql -e "FLUSH PRIVILEGES;" # Clear the GraphDB repository. 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'" -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