summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorPetr Mladek <pmladek@suse.cz>2012-06-19 12:28:32 +0200
committerPetr Mladek <pmladek@suse.cz>2012-06-19 13:55:18 +0200
commit3383dca954404b9f622d65129c0edfe28ab36d83 (patch)
tree99c5c1efa53b9574266baf0423cdc95db8f87cff /bin
parent631ea22c1e43ddd1e42baac5b8db826967335ffc (diff)
put the two new optinal desktop files into right file lists
Change-Id: I9e62bb0c14f2ba0d481cb4e926935af2394a652d
Diffstat (limited to 'bin')
-rwxr-xr-xbin/distro-install-desktop-integration4
1 files changed, 4 insertions, 0 deletions
diff --git a/bin/distro-install-desktop-integration b/bin/distro-install-desktop-integration
index 3727f83462d7..99f9c60ba459 100755
--- a/bin/distro-install-desktop-integration
+++ b/bin/distro-install-desktop-integration
@@ -168,6 +168,10 @@ add_wrapper libreoffice soffice "" "libreoffice" "libreoffice-star
add_wrapper loffice soffice "" "libreoffice" "" "gid_Module_Root_Brand"
add_wrapper unopkg unopkg "" "unopkg" "" "gid_Module_Root_Brand"
+# there are two more desktop files for optional filters
+test -f $DESTDIR/gid_Module_Optional_Binfilter && echo "$PREFIXDIR/share/applications/libreoffice-binfilter.desktop" >>"$DESTDIR/gid_Module_Optional_Binfilter"
+test -f $DESTDIR/gid_Module_Optional_Xsltfiltersamples && echo "$PREFIXDIR/share/applications/libreoffice-xsltfilter.desktop" >>"$DESTDIR/gid_Module_Optional_Xsltfiltersamples"
+
# $PREFIXDIR/bin/ooffice symlink is necessary by java UNO components to find
# the UNO installation using $PATH, see
# http://udk.openoffice.org/common/man/spec/transparentofficecomponents.html