[aur-general] Recommended Encoding for PKGBUILDS?

Gergely Imreh imrehg at gmail.com
Thu Jul 2 11:06:39 EDT 2009


2009/7/2 Xavier <shiningxc at gmail.com>:
> On Thu, Jul 2, 2009 at 4:52 PM, <hollunder at gmx.at> wrote:
>>
>> On a somewhat related note, I wrote a patch today, and firefox thinks
>> it's a binary or something and tries to download it instead of showing
>> me the text: http://aur.archlinux.org/packages/acweight/acweight/
>>
>> What did I do wrong there?
>> The patch was created using:
>> diff -u acweight/Makefile Makefile > destdircp.patch
>>
>
> This is web server (lighttpd) setting again.
> It's possible to specify that files with .diff or .patch extension are
> actually of type text/plain and not application/octet-stream , but
> this was not done.
>
> I am not sure what you can do on the client / web browser side.
>

I think it is not just the patch, looking around, e.g. "LICENSE" files
and everything else beside PKGBUILDs are also shown as
"application/octet-stream".

  Greg


More information about the aur-general mailing list