[File] Change mime-type of OpenRC script to text/x-shellscript

Edin Tarić unicorn at regrow.earth
Wed May 29 17:49:42 UTC 2024


Hi there,

The OpenRC service scripts are essentially shell scripts and since there are text editors that rely on 'file' to perform correct syntax highlighting, it would be great if the mime-type can be adjusted to reflect that. :)

OpenRC scripts can be recognized by this shebang:
#!/sbin/openrc-run

'file' currently recognizes it as "a /sbin/openrc-run script, ASCII text executable" with a mime-type of text/plain.

Thanks in advance!

Best,
Edin


More information about the File mailing list