When I run the following command
mimetype -DM --database /usr/share/misc/magic /path/to/reset.css
I expect to see text/css as a result but instead I get text/plain. Is there a way to fix this?
- mimetype man page.
EDIT Removing -M didn't change anything
root@srv /var/www/vhosts/zf2skeleton # mimetype -D --database /usr/share/misc/magic module/Application/public/css/bootstrap.min.css
> Data dirs are: /usr/share/misc/magic
> Checking inode type
WARNING: You don't seem to have a mime-info database. The
shared-mime-info package is available from http://freedesktop.org/ .
> Checking globs for basename 'bootstrap.min.css'
> Checking for extension '.min.css'
> Checking for extension '.css'
> File exists, trying default method
module/Application/public/css/bootstrap.min.css: text/plain