Skip to content

Commit 2d7960b

Browse files
committed
fix(installer): Fix KDE integration
Signed-off-by: 林博仁(Buo-ren Lin) <buo.ren.lin@gmail.com>
1 parent c2eaefa commit 2d7960b

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

Installer.bash

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
# Install the templates to their proper locations
55
#
6-
# Copyright 2020 林博仁(Buo-ren, Lin) <Buo.Ren.Lin@gmail.com>
6+
# Copyright 2025 林博仁(Buo-ren Lin) <buo.ren.lin@gmail.com>
77
# SPDX-License-Identifier: CC-BY-SA-4.0
88

99
# Error on premature signs
@@ -160,11 +160,11 @@ init(){
160160
--verbose \
161161
--mode=u=rw,go=r \
162162
"${template}" \
163-
"${HOME}/.local/share/templates/.pre-commit-config.yaml"
163+
"${HOME}/.local/share/templates/template.pre-commit-config.yaml"
164164
install \
165165
--verbose \
166166
--mode=u=rw,go=r \
167-
"${RUNTIME_EXECUTABLE_DIRECTORY}/Template Setup for KDE"/*.desktop \
167+
"${RUNTIME_EXECUTABLE_DIRECTORY}/Template Setup for KDE/template.pre-commit-config.yaml.desktop" \
168168
"${HOME}/.local/share/templates"
169169
fi
170170
unset answer

Template Setup for KDE/common.pre-commit-config.yaml.desktop renamed to Template Setup for KDE/template.pre-commit-config.yaml.desktop

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,4 @@
77
Name=.pre-commit-config.yaml
88
Type=Link
99
Icon=text-x-plain
10-
URL=common.pre-commit-config.yaml
10+
URL=template.pre-commit-config.yaml

0 commit comments

Comments
 (0)