From e58a5f6db6d13d078f12c3496f46c227c6943c48 Mon Sep 17 00:00:00 2001 From: Chris Mayo Date: Wed, 11 Nov 2020 19:27:52 +0000 Subject: Remove obsolete GNOME 2 MIME types files MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Installed as: /usr/share/application-registry/libreoffice.applications /usr/share/mime-info/libreoffice.keys /usr/share/mime-info/libreoffice.mime Superseded by Shared MIME-info compliant libreoffice.xml, created as openoffice.org.xml by create_mime_xml.pl from the .desktop files. Change-Id: Ib8d9a17d09139dd4f50f65572457cef0178750b7 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/105606 Tested-by: Jenkins Reviewed-by: Caolán McNamara --- bin/distro-install-desktop-integration | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'bin') diff --git a/bin/distro-install-desktop-integration b/bin/distro-install-desktop-integration index 1da104e47621..e9ddd3370ee2 100755 --- a/bin/distro-install-desktop-integration +++ b/bin/distro-install-desktop-integration @@ -112,7 +112,6 @@ sed -i \ export PRODUCTVERSION= export KDEMAINDIR=$PREFIXDIR export PREFIXDIR=${PREFIXDIR} - export GNOMEDIR=$PREFIXDIR export GNOME_MIME_THEME=hicolor export APPDATA_SOURCE_DIR="${SRCDIR?}"/sysui/desktop/appstream-appdata bash ./create_tree.sh @@ -139,9 +138,7 @@ cd - # put the stuff installed by create_tree.sh into the right file lists # desktop files will be added by the corresponding add_wrapper command if test -f $DESTDIR/gid_Module_Root_Brand ; then - for dir in $PREFIXDIR/share/application-registry \ - $PREFIXDIR/share/mime/packages \ - $PREFIXDIR/share/mime-info \ + for dir in $PREFIXDIR/share/mime/packages \ $PREFIXDIR/share/icons ; do find "$DESTDIR$dir" \( -type f -o -type l \) -printf "$dir/%P\n" >>$DESTDIR/gid_Module_Root_Brand done -- cgit