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
This commit is contained in:
Sander van der Burg 2009-10-16 12:16:17 +00:00
parent fef5fcc47b
commit 702871ef25
1 changed files with 1 additions and 0 deletions

View File

@ -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