remove needless icon scriptlets
This commit is contained in:
parent
8ab9ab55d2
commit
36542152e4
@ -86,19 +86,15 @@ rm $RPM_BUILD_ROOT%{_libdir}/gnome-keyring/devel/*.la
|
|||||||
%post
|
%post
|
||||||
/sbin/ldconfig
|
/sbin/ldconfig
|
||||||
update-mime-database %{_datadir}/mime &> /dev/null || :
|
update-mime-database %{_datadir}/mime &> /dev/null || :
|
||||||
touch %{_datadir}/icons/hicolor >&/dev/null || :
|
|
||||||
|
|
||||||
%postun
|
%postun
|
||||||
/sbin/ldconfig
|
/sbin/ldconfig
|
||||||
update-mime-database %{_datadir}/mime &> /dev/null || :
|
update-mime-database %{_datadir}/mime &> /dev/null || :
|
||||||
if [ $1 -eq 0 ]; then
|
if [ $1 -eq 0 ]; then
|
||||||
touch --no-create %{_datadir}/icons/hicolor >&/dev/null || :
|
|
||||||
gtk-update-icon-cache %{_datadir}/icons/hicolor >&/dev/null || :
|
|
||||||
glib-compile-schemas %{_datadir}/glib-2.0/schemas >&/dev/null || :
|
glib-compile-schemas %{_datadir}/glib-2.0/schemas >&/dev/null || :
|
||||||
fi
|
fi
|
||||||
|
|
||||||
%posttrans
|
%posttrans
|
||||||
gtk-update-icon-cache %{_datadir}/icons/hicolor >&/dev/null || :
|
|
||||||
glib-compile-schemas %{_datadir}/glib-2.0/schemas >&/dev/null || :
|
glib-compile-schemas %{_datadir}/glib-2.0/schemas >&/dev/null || :
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user