You are not logged in.

#1 2017-12-01 14:04:37

lb.laboon
Member
From: United States
Registered: 2013-10-08
Posts: 21
Website

mailcap replacing mime-types?

Just curious as to why mailcap is replacing the mime-types package.
Also, is there a reason mailcap provides /etc/nginx/mime.types? Shouldn't that be provided by nginx?

Last edited by lb.laboon (2017-12-01 14:07:33)

Offline

#2 2017-12-01 14:10:10

Slithery
Forum Moderator
From: Norfolk, UK
Registered: 2013-12-01
Posts: 4,625

Re: mailcap replacing mime-types?


No, it didn't "fix" anything. It just shifted the brokeness one space to the right. - jasonwryan
Closing -- for deletion; Banning -- for muppetry. - jasonwryan

aur - dotfiles

Offline

#3 2017-12-01 14:13:54

lb.laboon
Member
From: United States
Registered: 2013-10-08
Posts: 21
Website

Re: mailcap replacing mime-types?

In that case, couldn't the nginx package just provide /etc/nginx/mime.types as a symlink to /etc/mime.types?
I'm not really a fan of having an nginx-specific file on my system when I'm not running nginx.

Offline

#4 2017-12-01 15:41:09

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 25,646
Website

Re: mailcap replacing mime-types?

lb.laboon wrote:

In that case, couldn't the nginx package just provide /etc/nginx/mime.types as a symlink to /etc/mime.types?

It could, but it would almost certainly not work as the two files are different formats.

If the name nginx really bothers you and you can't stand having the directory on your system:
https://wiki.archlinux.org/index.php/Pa … _to_system

Last edited by Trilby (2017-12-01 15:42:11)


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Offline

#5 2017-12-01 15:50:14

lb.laboon
Member
From: United States
Registered: 2013-10-08
Posts: 21
Website

Re: mailcap replacing mime-types?

Trilby wrote:
lb.laboon wrote:

In that case, couldn't the nginx package just provide /etc/nginx/mime.types as a symlink to /etc/mime.types?

It could, but it would almost certainly not work as the two files are different formats.

If the name nginx really bothers you and you can't stand having the directory on your system:
https://wiki.archlinux.org/index.php/Pa … _to_system

I would say that's all the more reason it should be provided by nginx then (or perhaps forked to its own mailcap-nginx package if it must).
Apache also ships with its own mime.types which is just provided by the httpd package, so there's some inconsistency here.

Edit: NoExtract is really a non-solution, because if I want to install nginx someday then I'll have to remember to remove that line from the config and reinstall mailcap first.
I don't have anything against nginx, I just don't like that software-specific files are being included in a non-specific package.

Last edited by lb.laboon (2017-12-01 16:17:46)

Offline

#6 2017-12-01 18:21:33

lb.laboon
Member
From: United States
Registered: 2013-10-08
Posts: 21
Website

Re: mailcap replacing mime-types?

Opened a task on bugs to address this:
https://bugs.archlinux.org/task/56532

Offline

Board footer

Powered by FluxBB