From df0a3488d54ab91003a73d3eab24df3280727152 Mon Sep 17 00:00:00 2001
From: Stephan <stephane.gay@hazelcast.com>
Date: Wed, 20 Oct 2021 09:11:33 +0200
Subject: [PATCH] again

---
 .github/workflows/symlink-test.yml | 13 +++++++------
 1 file changed, 7 insertions(+), 6 deletions(-)

diff --git a/.github/workflows/symlink-test.yml b/.github/workflows/symlink-test.yml
index 57bfaeb..b7855c4 100644
--- a/.github/workflows/symlink-test.yml
+++ b/.github/workflows/symlink-test.yml
@@ -69,12 +69,13 @@ jobs:
       - name: Symlink Git
         shell: bash
         run: |
-          if [ -f "bang" ]; then rm -f bang; fi
-          git update-index --add --cacheinfo 120000 "$(echo "duh" | git hash-object -w --stdin)" "bang"
-          git config --global user.email "stephan@REDACTED.com"
-          git config --global user.name "Stephan"
-          git add bang
-          git commit -m "created symlink"
+          if ! [ -f "bang" ]; then 
+            git update-index --add --cacheinfo 120000 "$(echo "duh" | git hash-object -w --stdin)" "bang"
+            git config --global user.email "stephan@REDACTED.com"
+            git config --global user.name "Stephan"
+            git add bang
+            git commit -m "created symlink"
+          fi
 
       # push changes back
       - name: Push