Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=kdetesting2.git;a=commitdiff;h=6552dfe4e726188cf329710928d456b66c7b2d0d

commit 6552dfe4e726188cf329710928d456b66c7b2d0d
Author: Miklos Vajna <vmik...@frugalware.org>
Date:   Sat Jan 15 01:17:00 2011 +0100

openoffice.org-3.2.1-6-i686

- USE_DEVEL: fix desktop files after the oowriter -> lowriter, etc
renames

diff --git a/source/xapps/openoffice.org/FrugalBuild 
b/source/xapps/openoffice.org/FrugalBuild
index 02b980d..d4ba4da 100644
--- a/source/xapps/openoffice.org/FrugalBuild
+++ b/source/xapps/openoffice.org/FrugalBuild
@@ -332,6 +332,16 @@ build()
# Install artwork
cat src/openintro_fw.png > $Fdestdir/usr/lib/$pkgname/program/intro.png
cat src/openabout_fw.png > $Fdestdir/usr/lib/$pkgname/program/about.png
+
+               # Fix desktop files
+               for i in $Fdestdir/usr/share/applications/*.desktop
+               do
+                       file=$(basename $i)
+                       # if there is a better version in the xdg dir, use it
+                       if [ -e $Fdestdir/usr/lib/libreoffice/share/xdg/$file 
]; then
+                               Fln /usr/lib/libreoffice/share/xdg/$file 
/usr/share/applications/$file
+                       fi
+               done
fi

# Permission fixes
_______________________________________________
Frugalware-git mailing list
Frugalware-git@frugalware.org
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to