From 682e490c02f2fe15055714c5e9a1d61df9149449 Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Sat, 6 Jan 2018 00:00:49 +0100 Subject: [PATCH] Remove obsolete scriptlets Signed-off-by: Igor Gnatenko --- virt-manager.spec | 19 ------------------- 1 file changed, 19 deletions(-) diff --git a/virt-manager.spec b/virt-manager.spec index a0f2828..b9f51bb 100644 --- a/virt-manager.spec +++ b/virt-manager.spec @@ -173,25 +173,6 @@ done 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 %doc README.md COPYING NEWS.md %{_bindir}/%{name}