From 7d8eac3ee6576ed35cbaa8d4b141910b984c6d16 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Mon, 7 Mar 2005 05:13:21 +0000 Subject: [PATCH] Fix post --- gnome-icon-theme.spec | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/gnome-icon-theme.spec b/gnome-icon-theme.spec index 2d00aee..f64e465 100644 --- a/gnome-icon-theme.spec +++ b/gnome-icon-theme.spec @@ -1,7 +1,7 @@ Summary: Base gnome icons Name: gnome-icon-theme Version: 2.9.91 -Release: 1 +Release: 2 Source0: %{name}-%{version}.tar.bz2 Source1: external-icons.tar.gz License: GPL @@ -55,7 +55,9 @@ rm -rf $RPM_BUILD_ROOT %post for dir in /usr/share/icons/*; do - /usr/bin/gtk-update-icon-cache --quiet $dir + if test -d "$dir"; then + /usr/bin/gtk-update-icon-cache --quiet $dir + fi done %files @@ -65,6 +67,9 @@ done %{_datadir}/pkgconfig/gnome-icon-theme.pc %changelog +* Sun Mar 7 2005 Matthias Clasen - 2.9.91-2 +- Fix %%post + * Wed Feb 9 2005 Matthias Clasen - 2.9.91-1 - Update to 2.9.91