From c16968e6a8a145b75ef571152ff68c424e58ba28 Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Sun, 27 Jan 2019 13:17:38 +0100 Subject: [PATCH] Remove obsolete scriptlets References: https://fedoraproject.org/wiki/Changes/RemoveObsoleteScriptlets Signed-off-by: Igor Gnatenko --- thermald.spec | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/thermald.spec b/thermald.spec index b4fc09e..2f27900 100644 --- a/thermald.spec +++ b/thermald.spec @@ -215,24 +215,6 @@ exit 0 %postun %systemd_postun_with_restart thermald.service - -%post monitor -/bin/touch --no-create %{_datadir}/icons/hicolor &>/dev/null || : - - -%postun monitor -if [ $1 -eq 0 ] ; then - /bin/touch --no-create %{_datadir}/icons/hicolor &>/dev/null - %{_bindir}/gtk-update-icon-cache %{_datadir}/icons/hicolor \ - &>/dev/null || : -fi - - -%posttrans monitor -%{_bindir}/gtk-update-icon-cache %{_datadir}/icons/hicolor \ - &>/dev/null || : - - %files %config(noreplace) %{_sysconfdir}/%{name} %doc README.txt thermal_daemon_usage.txt