How to best run a script post installation _and_ deinstallation?

2011-05-22 Thread Gerald Pfeifer
Trying to implement the final steps in addressing PR 155568: "bsd.gcc.mk: Fixing dependency not to pick ccache stubs" which I have been working on with Emanuel, I'd like to invoke a script after a port/package has been installed and again after it has been deinstalled. The naive approach below wo

Re: How to best run a script post installation _and_ deinstallation?

2011-05-22 Thread Doug Barton
On 05/22/2011 14:01, Gerald Pfeifer wrote: 2. How is the task best accomplished? Will @unexec in pkg-plist do the job? -- Nothin' ever doesn't change, but nothin' changes much. -- OK Go Breadth of IT experience, and depth of knowledge in the DNS.

Re: How to best run a script post installation _and_ deinstallation?

2011-05-23 Thread Wesley Shields
On Sun, May 22, 2011 at 11:01:50PM +0200, Gerald Pfeifer wrote: > Trying to implement the final steps in addressing PR 155568: "bsd.gcc.mk: > Fixing dependency not to pick ccache stubs" which I have been working on > with Emanuel, I'd like to invoke a script after a port/package has been > install

Re: How to best run a script post installation _and_ deinstallation?

2011-09-12 Thread Gerald Pfeifer
On Sun, 22 May 2011, Doug Barton wrote: > Will @unexec in pkg-plist do the job? On Mon, 23 May 2011, Wesley Shields wrote: > Are these what you are looking for: > > http://www.freebsd.org/doc/en/books/porters-handbook/pkg-install.html > http://www.freebsd.org/doc/en/books/porters-handbook/pkg-dei

Re: How to best run a script post installation _and_ deinstallation?

2011-09-13 Thread Chris Rees
On 13 Sep 2011 01:36, "Gerald Pfeifer" wrote: > > On Sun, 22 May 2011, Doug Barton wrote: > > Will @unexec in pkg-plist do the job? > > On Mon, 23 May 2011, Wesley Shields wrote: > > Are these what you are looking for: > > > > http://www.freebsd.org/doc/en/books/porters-handbook/pkg-install.html >