File tree Expand file tree Collapse file tree 1 file changed +10
-2
lines changed Expand file tree Collapse file tree 1 file changed +10
-2
lines changed Original file line number Diff line number Diff line change @@ -51,6 +51,7 @@ declare -Ar META_RUNTIME_DEPENDENCIES_CRITICAL=(
51
51
# ## These are the dependencies that are used later and also checked later
52
52
declare -Ar META_RUNTIME_DEPENDENCIES=(
53
53
[" cp" ]=" ${META_RUNTIME_DEPENDENCIES_DESCRIPTION_GNU_COREUTILS} "
54
+ [" install" ]=" ${META_RUNTIME_DEPENDENCIES_DESCRIPTION_GNU_COREUTILS} "
54
55
[" tr" ]=" ${META_RUNTIME_DEPENDENCIES_DESCRIPTION_GNU_COREUTILS} "
55
56
)
56
57
@@ -107,6 +108,9 @@ init() {
107
108
108
109
printf -- \
109
110
' Installing template files...\n'
111
+ install \
112
+ --directory \
113
+ " ${XDG_TEMPLATES_DIR} "
110
114
cp \
111
115
--force \
112
116
--verbose \
@@ -136,17 +140,21 @@ init() {
136
140
elif [ " ${answer} " == n ]; then
137
141
break
138
142
else
143
+ local kde_template_install_dir=" ${HOME} /.local/share/templates"
139
144
printf ' Configuring templates for KDE...\n'
145
+ install \
146
+ --directory \
147
+ " ${kde_template_install_dir} "
140
148
cp \
141
149
--force \
142
150
--verbose \
143
151
" ${SDC_SOURCE_CODE_DIR} " /* .bash \
144
- " ${HOME} /.local/share/templates "
152
+ " ${kde_template_install_dir} "
145
153
cp \
146
154
--force \
147
155
--verbose \
148
156
" ${SDC_KDE_TEMPLATE_SETUP_DIR} " /* .desktop \
149
- " ${HOME} /.local/share/templates "
157
+ " ${kde_template_install_dir} "
150
158
break
151
159
fi
152
160
fi
You can’t perform that action at this time.
0 commit comments