Subject: | mimeopen -d quits if no application is currently associated with the mimetype |
When a user runs mimeopen -d <file> he normally does so to define a new
handler for the mimetype of that file.
However, if no such handler already exists and is associated with that
mimetype, mimeopen exits without letting the user choose a new one.
To fix one just has to remove line 143 in the script:
142 print STDERR "No applications found for mimetype: $mimetype\n";
143 exit 6;