[haiku-commits] Re: r35722 - haiku/trunk/build/jam

  • From: Matt Madia <mattmadia@xxxxxxxxx>
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Tue, 2 Mar 2010 13:17:47 -0500

On Tue, Mar 2, 2010 at 13:01, Stephan Assmus <superstippi@xxxxxx> wrote:
> On 2010-03-02 at 18:36:08 [+0100], mattmadia@xxxxxxxxx wrote:
>> Author: mmadia
>>          AddExpanderRuleToHaikuImage "application/x-xz" : .tar.xz
>> -            : "xz -dc \\0045s | tar tvf -"
>> -            : "xz -dc \\0045s | tar xvf -"
>> +            : "tar -Jtvf \\0045s"
>> +            : "tar -Jxvf \\0045s"
>>          ;
>
> This seems still wrong (the mime-type).
>
>>          AddExpanderRuleToHaikuImage "application/x-xz" : .txz
>> +            : "tar -Jtvf \\0045s"
>> +            : "tar -Jxvf \\0045s"

Should the .tar.xz, .txz  be  "" , similar to ExpanderRules.cpp for
.tar.bz2, .tar.gz & .tgz?

Or maybe "application/x-xz-compressed-tar", which came up a few times
in web queries.

--mmadia

Other related posts: