From b0160e8cf23f88f8a121c07ac54ccbaf4cf87d86e7fb5062712553ea7a05d89a Mon Sep 17 00:00:00 2001 From: Eric Schirra Date: Wed, 28 Jul 2021 12:35:57 +0000 Subject: [PATCH] Accepting request 908516 from home:StevenK:branches:network:utilities - Change shebang of misc/log-analytics/import_logs.py to be python3. OBS-URL: https://build.opensuse.org/request/show/908516 OBS-URL: https://build.opensuse.org/package/show/network:utilities/matomo?expand=0&rev=96 --- matomo.changes | 5 +++++ matomo.spec | 1 + 2 files changed, 6 insertions(+) diff --git a/matomo.changes b/matomo.changes index a58bc7c..254ac47 100644 --- a/matomo.changes +++ b/matomo.changes @@ -29,6 +29,11 @@ Wed Jul 28 10:55:31 UTC 2021 - ecsos - Added new command core:version which returns the Matomo version number. +------------------------------------------------------------------- +Tue Jul 27 06:31:06 UTC 2021 - Steve Kowalik + +- Change shebang of misc/log-analytics/import_logs.py to be python3. + ------------------------------------------------------------------- Wed May 26 17:25:19 UTC 2021 - ecsos diff --git a/matomo.spec b/matomo.spec index a9e1a06..0547b3e 100644 --- a/matomo.spec +++ b/matomo.spec @@ -108,6 +108,7 @@ find . -type f "(" -name "*.c" -o -name "*.h" -o -name "*.js.orig" ")" -delete # env-script-interpreter find . -type f -exec sed -i -e 's|\/usr\/bin\/env php|\/usr\/bin\/php|g' {} + find . -type f -name "*.sh" -exec sed -i -e 's|\/usr\/bin\/env bash|\/bin\/bash|g' {} + +sed -i 's|python$|python3|' misc/log-analytics/import_logs.py # # disable the auto updater, it can't work properly with the new, more secure permissions and is a bad idea on a RPM based setup anyways.