summary refs log tree commit diff
path: root/modules
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2010-08-11 15:10:17 +0000
committerEelco Dolstra <eelco.dolstra@logicblox.com>2010-08-11 15:10:17 +0000
commitcfb465c7a548b044d7e874dacce5600fff7c390f (patch)
treeea409e7a80d180357b6600ffe735ea8206d8cebb /modules
parent2ec105cc85eea3c37e88f2e0a893604499ab6e00 (diff)
downloadnixlib-cfb465c7a548b044d7e874dacce5600fff7c390f.tar
nixlib-cfb465c7a548b044d7e874dacce5600fff7c390f.tar.gz
nixlib-cfb465c7a548b044d7e874dacce5600fff7c390f.tar.bz2
nixlib-cfb465c7a548b044d7e874dacce5600fff7c390f.tar.lz
nixlib-cfb465c7a548b044d7e874dacce5600fff7c390f.tar.xz
nixlib-cfb465c7a548b044d7e874dacce5600fff7c390f.tar.zst
nixlib-cfb465c7a548b044d7e874dacce5600fff7c390f.zip
svn path=/nixos/trunk/; revision=23115
Diffstat (limited to 'modules')
-rw-r--r--modules/config/system-path.nix2
1 files changed, 1 insertions, 1 deletions
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
             '';