[File] [PATCH] Supply extension for PPD files

Christos Zoulas christos at zoulas.com
Tue Nov 8 16:14:30 UTC 2022


On 2022-11-08 10:47 am, Elvis Stansvik wrote:
> 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.


committed, thanks!

christos
> 
> 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
>> 

-- 
christos


More information about the File mailing list