[maemo-users] Single-click install file for OS2007

From: Marius Gedminas marius at pov.lt
Date: Mon Aug 25 00:36:04 EEST 2008
On Sun, Aug 24, 2008 at 05:32:05PM -0400, Marius Gedminas wrote:
> On Sun, Aug 24, 2008 at 10:36:00PM +0300, Michael Stepanov wrote:
> > I created a single-click install files for bora, chinook and diablo and put
> > them on the web page - http://diapub.com/~michael/. They work fine under
> > OS2008. But with OS2007 there is a problem.  Instead of offer save or run
> > that file it shows its content. Any ideas how to fix that?
> IIRC you need to make your web server serve those files with the correct
> Content-Type, instead of the generic application/octet-stream.
> Unfortunately I don't remember the correct one, couldn't find it on
> maemo.org after searching for 5 minutes, and experiment shows
> maemo.org's application catalog itself serves .install files as
> "text/html".  Does that mean maemo.org's catalog is broken for OS2007
> users, or that I'm wrong about my content-type assumptions?

Duh, I'd forgotten I'm serving .install files from my website
(http://mg.pov.lt/770) since they were first introduced as an
unsupported feature.  Here's my .htaccess file:

  AddType application/x-install-instructions .install

Marius Gedminas
(define the-question (or (* 2 b) (not (* 2 b))))
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.maemo.org/pipermail/maemo-users/attachments/20080824/3ecaae17/attachment.pgp 
More information about the maemo-users mailing list