Re: [gobolinux-devel] Updating the mime database

2007-04-20 Thread Jonas Karlsson
On Fri, 20 Apr 2007 00:22:39 +0200, Hisham Muhammad <[EMAIL PROTECTED]> wrote: On 4/19/07, Jonas Karlsson <[EMAIL PROTECTED]> wrote: On Thu, 19 Apr 2007 23:50:26 +0200, Hisham Muhammad <[EMAIL PROTECTED]> wrote: > On 4/19/07, Jonas Karlsson <[EMAIL PROTECTED]> wrote: >> After having talked

Re: [gobolinux-devel] Updating the mime database

2007-04-19 Thread Hisham Muhammad
On 4/19/07, Jonas Karlsson <[EMAIL PROTECTED]> wrote: > On Thu, 19 Apr 2007 23:50:26 +0200, Hisham Muhammad <[EMAIL PROTECTED]> > wrote: > > > On 4/19/07, Jonas Karlsson <[EMAIL PROTECTED]> wrote: > >> After having talked about this with Hisham I agree that we can wait with > >> this, but not becau

Re: [gobolinux-devel] Updating the mime database

2007-04-19 Thread Jonas Karlsson
On Thu, 19 Apr 2007 23:50:26 +0200, Hisham Muhammad <[EMAIL PROTECTED]> wrote: > On 4/19/07, Jonas Karlsson <[EMAIL PROTECTED]> wrote: >> After having talked about this with Hisham I agree that we can wait with >> this, but not because I think this change could wait but because it has >> to >>

Re: [gobolinux-devel] Updating the mime database

2007-04-19 Thread Hisham Muhammad
On 4/19/07, Jonas Karlsson <[EMAIL PROTECTED]> wrote: > After having talked about this with Hisham I agree that we can wait with > this, but not because I think this change could wait but because it has to > be done slightly different. Hisham had an idea (and I agree with him) that > the files shou

Re: [gobolinux-devel] Updating the mime database

2007-04-19 Thread Jonas Karlsson
On Thu, 19 Apr 2007 23:05:26 +0200, Jonas Karlsson <[EMAIL PROTECTED]> wrote: > After having talked about this with Hisham I agree that we can wait with > this, but not because I think this change could wait but because it has > to be done slightly different. Hisham had an idea (and I agree wi

Re: [gobolinux-devel] Updating the mime database

2007-04-19 Thread Jonas Karlsson
After having talked about this with Hisham I agree that we can wait with this, but not because I think this change could wait but because it has to be done slightly different. Hisham had an idea (and I agree with him) that the files should be created in Variables instead. This is done quite e

Re: [gobolinux-devel] Updating the mime database

2007-04-19 Thread André Detsch
I think we can wait to commit this change. Actually I still believe it is better to do this through PostInstall scripts. On 4/18/07, Jonas Karlsson <[EMAIL PROTECTED]> wrote: > Here's a patch to update the MIME database if the installed application > includes a xml file, which defines its MIME typ

[gobolinux-devel] Updating the mime database

2007-04-18 Thread Jonas Karlsson
Here's a patch to update the MIME database if the installed application includes a xml file, which defines its MIME types. I've added some utility functions to Functions/File and a function to Functions/GoboLinux to rebuild the MIME DB. The MIME database should only be rebuilt if the applicat