[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Packaging hoogle



Erik de Castro Lopo wrote:

> Hi all,
> 
> I have been (for some time) working on packaging for hoogle. There
> have been a number of things that required fixing upstream and that
> has now mostly been done.
> 
> One final problem is what to do with the hoogle database files.
> Currently one the package I am working on is installed, there are
> no database files. Assuming the machine is connected to the 
> internet, the database files can be installed using:
> 
>    sudo hoogle data
> 
> which installs the database files in the directory:
> 
>    /usr/share/hoogle/hoogle-X.Y.Z/database
> 
> QUestions:
> 
>  a) Is this acceptable as the way it is?
> 
>  b) Should the postinstall script run the required command?
> 
>  c) Should the postinstall script print a message suggesting that
>     the person doing the install run the required command?
> 
>  d) Should I package the database files as a deb?

Some more questions:

   e) Each time hoogle gets a new version, it needs a new set of
      database files. SHould the old database files be deleted
      automatically or should the person installing the new
      version be told that they should delete the old db?

Erik
-- 
----------------------------------------------------------------------
Erik de Castro Lopo
http://www.mega-nerd.com/


Reply to: