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

Re: package : how to execute a post-install script



On Tue, Apr 21, 1998 at 05:24:57PM +0200, Julien Ortega wrote:
> I am making a package with deb-make for squid (the original package is
> good but i want it to install in /usr/local/squid and not /usr/bin;
> /usr/etc ... )
> 
> My package install squid, add a script in init.d but i want it, to
> create the cache directory whith nobody rights and launch squid -z,
> this, only if this directory dont exist.
> 
> so i have to execute a script after the installation.
> how can i do ? 
> -- 

that's debian/postinst which installs into debian/tmp/DEBIAN/postinst.

I thought deb-make installs dummy scripts.

Regards,

	Joey

-- 
  / Martin Schulze  *  joey@infodrom.north.de  *  26129 Oldenburg /
 /                                     http://home.pages.de/~joey/
/  Unable to locate coffee, operator halted.  -- Stefan Farsch  /


--
To UNSUBSCRIBE, email to debian-devel-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org


Reply to: