Remove obsolete scriptlets

References: https://fedoraproject.org/wiki/Changes/RemoveObsoleteScriptlets
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
This commit is contained in:
Igor Gnatenko 2019-01-27 13:17:38 +01:00
parent 6caa9227ca
commit c16968e6a8
No known key found for this signature in database
GPG Key ID: 695714BD1BBC5F4C

View File

@ -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