Text files starting with PACKAGE* get the mime type application/x-pak instead of text/plain
SUMMARY
Any plaintext file that starts with PACKAGE* and doesn't have a filename ending associated with a mime type, gets the mime type application/x-pak. This happens for example for dkms.conf file that don't have licensing information preceding and therefore start with PACKAGE_NAME=<some_name>
STEPS TO REPRODUCE
echo "PACKAGEloremipsum" > foo
OBSERVED RESULT
foo has the mime type application/x-pak
EXPECTED RESULT
foo has the mime type text/plain
SOFTWARE/OS VERSIONS
- Linux: 6.2.0-10018-tuxedo
- KDE Plasma Version: 5.27.7
- KDE Frameworks Version: 5.108.0
- Qt Version: 5.15.10
Edited by Werner Sembach