about summary refs log tree commit diff stats
path: root/common/init
diff options
context:
space:
mode:
authorBenedikt Peetz <benedikt.peetz@b-peetz.de>2024-12-01 12:32:43 +0100
committerBenedikt Peetz <benedikt.peetz@b-peetz.de>2024-12-01 12:32:43 +0100
commit9eea7b5a05ce7bb3c47084a7177f2f8b8efc4188 (patch)
tree5dd68aec28ff0d509d1853232615a087b40d42b4 /common/init
parentchore(version): v0.8.1 (diff)
downloadflake-templates-9eea7b5a05ce7bb3c47084a7177f2f8b8efc4188.tar.gz
flake-templates-9eea7b5a05ce7bb3c47084a7177f2f8b8efc4188.zip
fix(common/init): Move the description to the copyright header
This avoids weird linebreaks.
Diffstat (limited to 'common/init')
-rw-r--r--common/init4
1 files changed, 3 insertions, 1 deletions
diff --git a/common/init b/common/init
index d2eb028..7c8138a 100644
--- a/common/init
+++ b/common/init
@@ -147,6 +147,8 @@ if [ -e ./.reuse/templates/default.jinja2 ]; then
     fi
 
     cat <<EOF | fmt --uniform-spacing --width=85 --split-only >./.reuse/templates/default.jinja2
+$APPLICATION_NAME_STYLIZED$description_str
+
 {% for copyright_line in copyright_lines %}
 {{ copyright_line }}
 {% endfor %}
@@ -157,7 +159,7 @@ SPDX-FileContributor: {{ contributor_line }}
 SPDX-License-Identifier: {{ expression }}
 {% endfor %}
 
-This file is part of $APPLICATION_NAME_STYLIZED$description_str.
+This file is part of $APPLICATION_NAME_STYLIZED.
 
 You should have received a copy of the License along with this program.
 If not, see <$LICENSE_URL>.