Revert "Remove obsolete scriptlets"
We need this package to be buildable on RHEL too.
This reverts commit 933eabfcdf
.
This commit is contained in:
parent
933eabfcdf
commit
a5056f20d8
@ -112,14 +112,23 @@ rm -f %{buildroot}%{_libdir}/%{name}/*.la
|
|||||||
%find_lang %{name}
|
%find_lang %{name}
|
||||||
|
|
||||||
%post
|
%post
|
||||||
|
touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
|
||||||
%systemd_post ModemManager.service
|
%systemd_post ModemManager.service
|
||||||
|
|
||||||
%preun
|
%preun
|
||||||
%systemd_preun ModemManager.service
|
%systemd_preun ModemManager.service
|
||||||
|
|
||||||
%postun
|
%postun
|
||||||
|
/sbin/ldconfig
|
||||||
|
if [ $1 -eq 0 ] ; then
|
||||||
|
touch --no-create %{_datadir}/icons/hicolor &>/dev/null
|
||||||
|
gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
|
||||||
|
fi
|
||||||
%systemd_postun
|
%systemd_postun
|
||||||
|
|
||||||
|
%posttrans
|
||||||
|
gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
|
||||||
|
|
||||||
%post glib -p /sbin/ldconfig
|
%post glib -p /sbin/ldconfig
|
||||||
%postun glib -p /sbin/ldconfig
|
%postun glib -p /sbin/ldconfig
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user