Remove obsolete scriptlets
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
This commit is contained in:
parent
5805faa10c
commit
682e490c02
@ -173,25 +173,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