From cfb465c7a548b044d7e874dacce5600fff7c390f Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Wed, 11 Aug 2010 15:10:17 +0000 Subject: [PATCH] svn path=/nixos/trunk/; revision=23115 --- modules/config/system-path.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/config/system-path.nix b/modules/config/system-path.nix index 69466674b70a..1bc7ccc23264 100644 --- a/modules/config/system-path.nix +++ b/modules/config/system-path.nix @@ -104,7 +104,7 @@ let $out/bin/update-mime-database -V $out/share/mime fi - if [ -x $out/bin/gtk-update-icon-cache -a -d $out/share/icons/hicolor ]; then + if [ -x $out/bin/gtk-update-icon-cache -a -f $out/share/icons/hicolor/index.theme ]; then $out/bin/gtk-update-icon-cache $out/share/icons/hicolor fi '';