Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 28 May 2001 17:35:48 +0900
From:      OKAZAKI Tetsurou <okazaki@FreeBSD.org>
To:        Peter Pentchev <roam@orbitel.bg>
Cc:        Ernst de Haan <ernst@jollem.com>, ports@freebsd.org
Subject:   Re: No pre- or post-deinstall target?
Message-ID:  <867kz1c1ln.wl@dolphin.be.to>
In-Reply-To: <20010528113238.E8450@ringworld.oblivion.bg>
References:  <20010528101937.A9039@c187104187.telekabel.chello.nl> <20010528113238.E8450@ringworld.oblivion.bg>

next in thread | previous in thread | raw e-mail | index | archive | help
In the message <20010528113238.E8450@ringworld.oblivion.bg> 
Peter Pentchev <roam@orbitel.bg> wrote:

> On Mon, May 28, 2001 at 10:19:47AM +0200, Ernst de Haan wrote:
> > Hi,
> > 
> > The java/jdk* and the java/linux-jdk* ports register themselves with a Java VM
> > database (managed by java/javavmwrapper), so they should deregister themselves
> > when deinstalling.
> > 
> > So how do I call a script at deinstall-time?

> Use @unexec in pkg-plist.

If you want to call a complex script at deinstall-time, you can
also do it by setting PKGDEINSTALL to the script.  Default value
of PKGDEINSTALL is ${PKGDIR}/pkg-install.

See x11-fonts/bitmap-fonts for a example.


-- 
Tetsurou

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?867kz1c1ln.wl>