Skip to content
This repository was archived by the owner on Mar 10, 2026. It is now read-only.
This repository was archived by the owner on Mar 10, 2026. It is now read-only.

Update comments in mime.* files to indicate they are overwritten on install #2310

Closed

Description

@michaelrsweet

Version: 1.3-feature
CUPS.org User: ajf

I have had to do a lot of make installs recently and it took me a while to realise why my local mime.convs and mime.types kept disappearing. Just moving it to mime.X.O doesn't really help. After two installs the old copy is still lost. Could it be made a bit more intelligent please?

Activity

  1. michaelrsweet commented on Mar 27, 2007

    @michaelrsweet
    ContributorAuthor

    CUPS.org User: mike

    The thing is, you shouldn't be modifying mime.types and mime.convs, but instead should provide your own .types and .convs files to provide local mods (e.g. "local.types" and "local.convs"). I'll make sure we add comments at the top of the mime.types and mime.convs files indicating this (I thought we already had that, but I guess not), but because CUPS could easily stop working with bad mime.types and mime.convs files, we really want to overwrite the old files on install...

  2. michaelrsweet commented on Mar 27, 2007

    @michaelrsweet
    ContributorAuthor

    CUPS.org User: ajf

    That sounds fine, can not find any mention of it in the documentation!
    However it is common to for example uncomment
    application/octet-stream application/vnd.cups-raw 0
    would that be lost or does it need to go in local.convs?

  3. michaelrsweet commented on Mar 27, 2007

    @michaelrsweet
    ContributorAuthor

    CUPS.org User: mike

    Fixed in Subversion repository.

    Yes, you need to create a local.convs file to keep local mods separate from the installed files when installing from source.

  4. added this to the Stable milestone on Mar 17, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions