From d72c439a26f640c5361b5c7402f7111b6ad364dd Mon Sep 17 00:00:00 2001 From: Sander van der Burg Date: Fri, 16 Oct 2009 15:31:31 +0000 Subject: [PATCH] The OpenOffice.org icons should work now. I really mean it this time svn path=/nixpkgs/trunk/; revision=17854 --- pkgs/applications/office/openoffice/builder.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/applications/office/openoffice/builder.sh b/pkgs/applications/office/openoffice/builder.sh index 4624f3b2ad58..7e61505a63cb 100644 --- a/pkgs/applications/office/openoffice/builder.sh +++ b/pkgs/applications/office/openoffice/builder.sh @@ -83,7 +83,7 @@ installPhase() { do chmod 644 $appl # What's wrong with the file permissions? sed -i '/Icon/d' $appl - echo "Icon=`echo $appl | sed 's/.desktop//'`" >> $appl + echo "Icon=$(echo $(basename $appl) | sed 's/.desktop//')" >> $appl done # Copy icons so that the menu items in KDE and GNOME will look much nicer