about summary refs log tree commit diff stats
path: root/common
diff options
context:
space:
mode:
authorBenedikt Peetz <benedikt.peetz@b-peetz.de>2024-08-03 18:56:57 +0200
committerBenedikt Peetz <benedikt.peetz@b-peetz.de>2024-08-03 18:56:57 +0200
commit11458653d356642cd6d89accefe0bb4027175cc1 (patch)
tree6910c1d0d81c6e570b821137063a959435bf1a2c /common
parentfix(common/init): State which binaries are required to run it (diff)
downloadflake-templates-11458653d356642cd6d89accefe0bb4027175cc1.tar.gz
flake-templates-11458653d356642cd6d89accefe0bb4027175cc1.zip
feat(common/init): Support template specific drop-in scripts
Diffstat (limited to 'common')
-rw-r--r--common/init3
1 files changed, 3 insertions, 0 deletions
diff --git a/common/init b/common/init
index 5dcc67b..bcfc0fc 100644
--- a/common/init
+++ b/common/init
@@ -124,6 +124,9 @@ If not, see <$LICENSE_URL>.
 EOF
 fi
 
+# Allow templates to add template specific prompts
+[ -e init.local ] && . ./init.local
+
 echo "$DESCRIPTION" >.git/description
 
 while read -r var; do