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-04 18:57:48 +0200
committerBenedikt Peetz <benedikt.peetz@b-peetz.de>2024-08-04 18:57:48 +0200
commit7fd2ba674dd3a83599680ea885a4c8c1a26fa2b4 (patch)
tree7f0d57c4b4290e16f058886dab355cc0ab54ccfc /common
parentfix(common/init): Also delete the init.local file, if it exists (diff)
downloadflake-templates-7fd2ba674dd3a83599680ea885a4c8c1a26fa2b4.tar.gz
flake-templates-7fd2ba674dd3a83599680ea885a4c8c1a26fa2b4.zip
fix(common/init): Detect latex project by the `watch.sh` file
Not every latex project has a lpm.toml file.
Diffstat (limited to 'common')
-rw-r--r--common/init2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/init b/common/init
index d875cdd..557aa90 100644
--- a/common/init
+++ b/common/init
@@ -93,7 +93,7 @@ prompt APPLICATION_SOURCE_CODE_REPOSITORY "The package's source code repository
 prompt HOME_PAGE "The home page URL of the project" "https://$REPOSITORY.org/"
 prompt BUG_URL "The URL people should report bugs to" "$APPLICATION_SOURCE_CODE_REPOSITORY/issues"
 
-if [ -e ./lpm.toml ]; then
+if [ -e ./watch.sh ]; then
     # Use a different default license in latex projects.
     init_default_license="CC-BY-SA-4.0"
 else