From ab75faaa829d84d677bb1049fa58f3203787f34e Mon Sep 17 00:00:00 2001 From: Sander van der Burg Date: Wed, 13 May 2009 09:44:26 +0000 Subject: [PATCH] Added a minor symlink to OpenOffice.org to make desktop files work svn path=/nixpkgs/trunk/; revision=15582 --- pkgs/applications/office/openoffice/builder.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkgs/applications/office/openoffice/builder.sh b/pkgs/applications/office/openoffice/builder.sh index 18c9f7cb4cb..1f215831ca9 100644 --- a/pkgs/applications/office/openoffice/builder.sh +++ b/pkgs/applications/office/openoffice/builder.sh @@ -79,6 +79,9 @@ installPhase() { # the application menu in KDE and GNOME ensureDir $out/share ln -s $out/lib/openoffice/openoffice.org3/share/xdg $out/share/applications + + # The desktop files expect a openoffice.org3 executable in the PATH, which is a symlink to soffice + ln -s $out/bin/soffice $out/bin/openoffice.org3 } genericBuild