mirror of
https://github.com/virt-manager/virt-manager.git
synced 2025-02-25 18:55:27 -06:00
spec: Remove obsolete icon/desktop cache commands
Handled in Fedora for a while now
This commit is contained in:
parent
3cb33d381c
commit
48037fcf6f
@ -164,25 +164,6 @@ done
|
|||||||
rm %{buildroot}%{_datadir}/GConf/gsettings/org.virt-manager.virt-manager.convert
|
rm %{buildroot}%{_datadir}/GConf/gsettings/org.virt-manager.virt-manager.convert
|
||||||
|
|
||||||
|
|
||||||
%post
|
|
||||||
/bin/touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
|
|
||||||
/usr/bin/update-desktop-database &> /dev/null || :
|
|
||||||
|
|
||||||
|
|
||||||
%postun
|
|
||||||
if [ $1 -eq 0 ] ; then
|
|
||||||
/bin/touch --no-create %{_datadir}/icons/hicolor &>/dev/null
|
|
||||||
/usr/bin/gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
|
|
||||||
/usr/bin/glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
|
|
||||||
fi
|
|
||||||
/usr/bin/update-desktop-database &> /dev/null || :
|
|
||||||
|
|
||||||
|
|
||||||
%posttrans
|
|
||||||
/usr/bin/gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
|
|
||||||
/usr/bin/glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
|
|
||||||
|
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%doc README.md COPYING NEWS.md
|
%doc README.md COPYING NEWS.md
|
||||||
%{_bindir}/%{name}
|
%{_bindir}/%{name}
|
||||||
|
Loading…
Reference in New Issue
Block a user