- gtk-update-icon-cache --ignore-theme-index (avoids %%post failures when

hicolor-icon-theme isn't installed)
This commit is contained in:
Karsten Hopp 2006-02-20 10:58:06 +00:00
parent 124f177d4d
commit 13dc822a21

View File

@ -25,7 +25,7 @@
Summary: The VIM editor. Summary: The VIM editor.
Name: vim Name: vim
Version: %{baseversion}.%{patchlevel} Version: %{baseversion}.%{patchlevel}
Release: 1 Release: 2
License: freeware License: freeware
Group: Applications/Editors Group: Applications/Editors
Source0: ftp://ftp.vim.org/pub/vim/unix/vim-%{baseversion}.tar.bz2 Source0: ftp://ftp.vim.org/pub/vim/unix/vim-%{baseversion}.tar.bz2
@ -408,13 +408,13 @@ install -m644 %{SOURCE4} $RPM_BUILD_ROOT/%{_sysconfdir}/vimrc
%post X11 %post X11
touch --no-create %{_datadir}/icons/hicolor touch --no-create %{_datadir}/icons/hicolor
if [ -x /usr/bin/gtk-update-icon-cache ]; then if [ -x /usr/bin/gtk-update-icon-cache ]; then
gtk-update-icon-cache -q %{_datadir}/icons/hicolor gtk-update-icon-cache --ignore-theme-index -q %{_datadir}/icons/hicolor
fi fi
%postun X11 %postun X11
touch --no-create %{_datadir}/icons/hicolor touch --no-create %{_datadir}/icons/hicolor
if [ -x /usr/bin/gtk-update-icon-cache ]; then if [ -x /usr/bin/gtk-update-icon-cache ]; then
gtk-update-icon-cache -q %{_datadir}/icons/hicolor gtk-update-icon-cache --ignore-theme-index -q %{_datadir}/icons/hicolor
fi fi
%clean %clean
@ -489,6 +489,10 @@ rm -rf $RPM_BUILD_ROOT
%{_datadir}/icons/hicolor/*/apps/* %{_datadir}/icons/hicolor/*/apps/*
%changelog %changelog
* Mon Feb 20 2006 Karsten Hopp <karsten@redhat.de> 6.4.007-2
- gtk-update-icon-cache --ignore-theme-index
(avoids %%post failures when hicolor-icon-theme isn't installed)
* Wed Feb 15 2006 Karsten Hopp <karsten@redhat.de> 6.4.007-1 * Wed Feb 15 2006 Karsten Hopp <karsten@redhat.de> 6.4.007-1
- fix vim.csh script (#180429) - fix vim.csh script (#180429)
- patchlevel 7 - patchlevel 7