Remove obsolete scriptlets
References: https://fedoraproject.org/wiki/Changes/RemoveObsoleteScriptlets Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
This commit is contained in:
parent
6caa9227ca
commit
c16968e6a8
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user