about summary refs log tree commit diff stats
path: root/common
diff options
context:
space:
mode:
authorBenedikt Peetz <benedikt.peetz@b-peetz.de>2024-09-30 16:38:18 +0200
committerBenedikt Peetz <benedikt.peetz@b-peetz.de>2024-09-30 16:38:18 +0200
commit842dcd2298d20cb6067cf0f91e257dacf1f0cf3b (patch)
tree15de6e85e6061d685c25d51539bfcbbeebdf6754 /common
parentfeat(common/init): Ship a full git_template (diff)
downloadflake-templates-842dcd2298d20cb6067cf0f91e257dacf1f0cf3b.tar.gz
flake-templates-842dcd2298d20cb6067cf0f91e257dacf1f0cf3b.zip
fix(common/init): Also remove the shipped `git_template`, after it's used
Diffstat (limited to 'common')
-rw-r--r--common/init1
1 files changed, 1 insertions, 0 deletions
diff --git a/common/init b/common/init
index bbf6f14..ecb52f4 100644
--- a/common/init
+++ b/common/init
@@ -143,6 +143,7 @@ fi
 [ -e init.local ] && . ./init.local
 
 git init --initial-branch "$MAIN_BRANCH" --template="./git_template"
+rm --recursive ./git_template
 
 while read -r var; do
     var_name="${var%=*}"