From 4d68140ffe88b0e69563a582b6cb1313ad201772 Mon Sep 17 00:00:00 2001 From: chrishdx Date: Fri, 9 Feb 2024 19:56:51 +0000 Subject: [PATCH] =?UTF-8?q?=E2=80=9Einit.sh=E2=80=9C=20=C3=A4ndern?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- init.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/init.sh b/init.sh index e4c0729..aac714c 100644 --- a/init.sh +++ b/init.sh @@ -5,7 +5,7 @@ DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" DIR_NAME=$(basename "$DIR") DIR_NAME=$(echo "$DIR_NAME" | tr '[:upper:]' '[:lower:]' | sed 's/[^a-z0-9_-]//g' | tr ' ' '_') -echo "Angepasster Name: $DIR_NAME" + # Entferne vorhandenes Git-Repository, falls vorhanden rm -rf .git @@ -96,4 +96,5 @@ npm i --prefix backend --save-dev nodemon typescript ts-node git init git add . -git commit -m "Initial template setup" \ No newline at end of file +git commit -m "Initial template setup" +echo "Angepasster Name: $DIR_NAME" \ No newline at end of file