[File] [PATCH] Supply extension for PPD files
    Elvis Stansvik 
    elvstone at gmail.com
       
    Tue Nov  8 15:47:02 UTC 2022
    
    
  
Feel free to also add
!:mime    application/vnd.cups-ppd
unless you think there's too great a risk of breaking code which
assume text/plain is reported for PPD files.
Cheers,
Elvis
Den tis 8 nov. 2022 kl 16:11 skrev Elvis Stansvik <elvstone at gmail.com>:
>
> From: Elvis Stansvik <elvis.stansvik at orexplore.com>
>
> ---
>  magic/Magdir/printer | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/magic/Magdir/printer b/magic/Magdir/printer
> index e8fccd27..43113bac 100644
> --- a/magic/Magdir/printer
> +++ b/magic/Magdir/printer
> @@ -45,6 +45,7 @@
>  #
>  0      string          *PPD-Adobe:\x20 PPD file
>  >&0    string          x               \b, version %s
> +!:ext  ppd
>
>  # HP Printer Job Language
>  0      string          \033%-12345X at PJL        HP Printer Job Language data
> --
> 2.34.1
>
    
    
More information about the File
mailing list