Commit 861912f 1 parent 84e13e3 commit 861912f Copy full SHA for 861912f
File tree 2 files changed +28
-2
lines changed
2 files changed +28
-2
lines changed Original file line number Diff line number Diff line change
1
+ <!--
2
+
3
+ A new changelog entry.
4
+
5
+ Delete placeholder items that do not apply. Empty sections will be removed
6
+ automatically during release.
7
+
8
+ Leave the XX.XX as is: this is a placeholder and will be automatically filled
9
+ correctly during the release and helps when backporting over multiple platform
10
+ branches.
11
+
12
+ -->
13
+
14
+
15
+ ### NixOS XX.XX platform
16
+
17
+ - matomo: improve cleanup of unwanted files after upgrading from matomo4 to matomo5 (PL-133012)
Original file line number Diff line number Diff line change @@ -191,9 +191,18 @@ files=(\
191
191
" /var/lib/matomo/share/node_modules/angular-sanitize/README.md" \
192
192
" /var/lib/matomo/share/node_modules/angular-sanitize/angular-sanitize.min.js" \
193
193
" /var/lib/matomo/share/node_modules/angular-sanitize/index.js" \
194
+ " /var/lib/matomo/share/libs/Zend/Session/SaveHandler/DbTable.php" \
195
+ " /var/lib/matomo/share/libs/Zend/Session/SaveHandler/Exception.php" \
196
+ " /var/lib/matomo/share/libs/Zend/Session/SaveHandler/Interface.php" \
197
+ " /var/lib/matomo/share/plugins/CoreHome/javascripts/numberFormatter.js" \
198
+ " /var/lib/matomo/share/plugins/CoreHome/vue/src/getFormattedEvolution.ts" \
199
+ " /var/lib/matomo/share/plugins/Installation/FormDatabaseSetup.php.orig" \
200
+ " /var/lib/matomo/share/plugins/TagManager/stylesheets/gettingStarted.less" \
201
+ " /var/lib/matomo/share/plugins/TagManager/templates/gettingStarted.twig" \
202
+ " /var/lib/matomo/share/plugins/TagManager/templates/trackingHelp.twig" \
194
203
)
195
204
196
- for file in " '' ${files[@]} " ; do
205
+ for file in " ${files[@]} " ; do
197
206
if [ -f " $file " ]; then
198
207
rm -v " $file "
199
208
fi
@@ -214,7 +223,7 @@ directories=(\
214
223
" /var/lib/matomo/share/vendor/symfony/monolog-bridge/Symfony" \
215
224
)
216
225
217
- for dir in " '' ${directories[@]} " ; do
226
+ for dir in " ${directories[@]} " ; do
218
227
if [ -d " $dir " ]; then
219
228
rm -Rvf " $dir "
220
229
fi
You can’t perform that action at this time.
0 commit comments