* Generically handle the case where $out/share/mime/packages or one of
its parents is a symlink. svn path=/nixos/trunk/; revision=25776
This commit is contained in:
parent
e995f317ae
commit
28e4ac1af2
@ -100,7 +100,7 @@ let
|
|||||||
# !!! Hacky, should modularise.
|
# !!! Hacky, should modularise.
|
||||||
postBuild =
|
postBuild =
|
||||||
''
|
''
|
||||||
if [ -x $out/bin/update-mime-database -a -d $out/share/mime/packages ]; then
|
if [ -x $out/bin/update-mime-database -a -w $out/share/mime/packages ]; then
|
||||||
$out/bin/update-mime-database -V $out/share/mime
|
$out/bin/update-mime-database -V $out/share/mime
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user