Skip to content

gnome.post_install does not support update-mime-database #10865

@pbor

Description

@pbor

Describe the bug
I am trying to migrate a custom post install script to gnome.post_install, but as far as I can see it does not provide a way to update the mime db.

My post install script does:

    subprocess.call(['glib-compile-schemas',
                    os.path.join(datadir, 'glib-2.0', 'schemas')])
    subprocess.call(['gtk-update-icon-cache', '-qtf',
                    os.path.join(datadir, 'icons', 'hicolor')])
    subprocess.call(['update-desktop-database', '-q',
                    os.path.join(datadir, 'applications')])
    subprocess.call(['update-mime-database',
                    os.path.join(datadir, 'mime')])

The last step is not provided by the gnome module

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions