From 2361d4da61bf167724e69f0f77d1e1492e442fe2 Mon Sep 17 00:00:00 2001 From: Rex Dieter Date: Tue, 15 Sep 2020 16:38:47 -0500 Subject: [PATCH] shutdown scripts must be executable+valid shell (apparently) --- baloo_file_shutdown.sh | 2 +- kf5-baloo.spec | 7 +++++-- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/baloo_file_shutdown.sh b/baloo_file_shutdown.sh index 7b6d202..6aadda9 100644 --- a/baloo_file_shutdown.sh +++ b/baloo_file_shutdown.sh @@ -1,4 +1,4 @@ - +#!/bin/sh # workaround for baloo_file processes persisting # after logout, parent bug: # https://bugzilla.redhat.com/show_bug.cgi?id=1861700 diff --git a/kf5-baloo.spec b/kf5-baloo.spec index 5213e5b..c0fe22b 100644 --- a/kf5-baloo.spec +++ b/kf5-baloo.spec @@ -11,7 +11,7 @@ Name: kf5-%{framework} Summary: A Tier 3 KDE Frameworks 5 module that provides indexing and search functionality Version: 5.73.0 -Release: 2%{?dist} +Release: 3%{?dist} # libs are LGPL, tools are GPL # KDE e.V. may determine that future LGPL/GPL versions are accepted @@ -128,7 +128,7 @@ License: LGPLv2 or LGPLv3 rm -fv %{buildroot}%{_datadir}/locale/*/LC_MESSAGES/baloodb5.* install -p -m644 -D %{SOURCE1} %{buildroot}%{_prefix}/lib/sysctl.d/97-kde-baloo-filewatch-inotify.conf -install -p -m644 -D %{SOURCE2} %{buildroot}%{_sysconfdir}/xdg/plasma-workspace/shutdown/baloo_file.sh +install -p -m755 -D %{SOURCE2} %{buildroot}%{_sysconfdir}/xdg/plasma-workspace/shutdown/baloo_file.sh %find_lang kio5_baloosearch %find_lang kio5_tags @@ -204,6 +204,9 @@ make test ARGS="--output-on-failure --timeout 300" -C %{_target_platform} ||: %changelog +* Tue Sep 15 2020 Rex Dieter - 5.73.0-3 +- shutdown scripts must be executable+valid shell (apparently) + * Mon Sep 14 2020 Rex Dieter - 5.73.0-2 - add explicit shutdown script for baloo_file (parent bug #1861700)