* be more fault tolerant in the unison wrapper
svn path=/nixpkgs/trunk/; revision=9114
This commit is contained in:
parent
aae4a8db7a
commit
86874956a5
@ -16,7 +16,7 @@ stdenv.mkDerivation {
|
||||
postInstall = [
|
||||
"for i in $(cd $out/bin && ls); do"
|
||||
" mv $out/bin/$i $out/bin/.orig-$i;"
|
||||
" echo \"#! $SHELL -e\" > $out/bin/$i;"
|
||||
" echo \"#! $SHELL\" > $out/bin/$i;"
|
||||
" echo \"$xset/bin/xset q | grep -q \\\"$fontschumachermisc\\\" || $xset/bin/xset +fp \\\"$fontschumachermisc/lib/X11/fonts/misc\\\"\" >> $out/bin/$i;"
|
||||
" echo \"exec \\\"$out/bin/.orig-$i\\\" \\\"\\\$@\\\"\" >> $out/bin/$i;"
|
||||
" chmod +x $out/bin/$i;"
|
||||
|
Loading…
Reference in New Issue
Block a user