From 6093cfb154695ad81ccb46a59e8eff48ff1b0fcd Mon Sep 17 00:00:00 2001
From: jurgenhaas <juergen@paragon-es.de>
Date: Thu, 7 Jan 2021 11:19:23 +0100
Subject: [PATCH] docker/l3d#41 Fix ahoy setup

---
 start.sh | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/start.sh b/start.sh
index 7820c93..ef37942 100755
--- a/start.sh
+++ b/start.sh
@@ -193,13 +193,13 @@ function setupAhoy {
     echo "ahoyapi: v2" >.ahoy.yml
     echo "commands:" >>.ahoy.yml
   fi
-  if [[ ! -f .ahoy ]]; then
-    ln -s /etc/ahoy .ahoy
+  if [[ ! -f .ahoy.l3d ]]; then
+    ln -s /etc/ahoy .ahoy.l3d
   fi
   if [[ -f .gitignore ]]; then
-    EXISTING=$(cat .gitignore | grep "^/.ahoy/$")
+    EXISTING=$(cat .gitignore | grep "^/.ahoy.l3d$")
     if [[ -z ${EXISTING} ]]; then
-      echo "/.ahoy/" >>.gitignore
+      echo "/.ahoy.l3d" >>.gitignore
     fi
   fi
   EXISTING=$(cat .ahoy.yml | grep "^  changelog:")
-- 
GitLab