diff options
author | Chris Mayo <aklhfex@gmail.com> | 2020-11-11 19:27:52 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2020-11-14 16:30:58 +0100 |
commit | e58a5f6db6d13d078f12c3496f46c227c6943c48 (patch) | |
tree | 793b0c4936ea201eea838a55efaae1e2093dcb5d /bin | |
parent | ad53d723715b2ca3ab0d3415c532295ef17ced29 (diff) |
Remove obsolete GNOME 2 MIME types files
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 <caolanm@redhat.com>
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/distro-install-desktop-integration | 5 |
1 files changed, 1 insertions, 4 deletions
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 |