Skip to content

Commit a97e61e

Browse files
author
Philipp Neumann
committed
matomo: fix quoting in cleanup shell script
PL-133012
1 parent 84e13e3 commit a97e61e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

nixos/services/matomo/matomo-delete-unwanted-files.sh

+2-2
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ files=(\
193193
"/var/lib/matomo/share/node_modules/angular-sanitize/index.js"\
194194
)
195195

196-
for file in "''${files[@]}";do
196+
for file in "${files[@]}";do
197197
if [ -f "$file" ]; then
198198
rm -v "$file"
199199
fi
@@ -214,7 +214,7 @@ directories=(\
214214
"/var/lib/matomo/share/vendor/symfony/monolog-bridge/Symfony"\
215215
)
216216

217-
for dir in "''${directories[@]}";do
217+
for dir in "${directories[@]}";do
218218
if [ -d "$dir" ]; then
219219
rm -Rvf "$dir"
220220
fi

0 commit comments

Comments
 (0)