From 702871ef257b7c2aae273ec130b3499a2b091d30 Mon Sep 17 00:00:00 2001 From: Sander van der Burg Date: Fri, 16 Oct 2009 12:16:17 +0000 Subject: [PATCH] It appears that the OpenOffice.org desktop files are read only. Changing this so that they can be adapted svn path=/nixpkgs/trunk/; revision=17853 --- pkgs/applications/office/openoffice/builder.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/pkgs/applications/office/openoffice/builder.sh b/pkgs/applications/office/openoffice/builder.sh index 37463a9f4723..4624f3b2ad58 100644 --- a/pkgs/applications/office/openoffice/builder.sh +++ b/pkgs/applications/office/openoffice/builder.sh @@ -81,6 +81,7 @@ installPhase() { # The openoffice- prefix should be removed from the icon identifiers for appl in $out/share/applications/*.desktop do + chmod 644 $appl # What's wrong with the file permissions? sed -i '/Icon/d' $appl echo "Icon=`echo $appl | sed 's/.desktop//'`" >> $appl done