Date: 30 May 2001 13:02:34 +0200 From: Cyrille Lefevre <clefevre-lists@noos.fr> To: ernst@jollem.com Cc: FreeBSD-gnats-submit@freebsd.org, java@freebsd.org Subject: Re: ports/27748: Update port: java/orion (1.4.5_4 -> 1.4.5_5) Message-ID: <g0dndrqt.fsf@gits.dyndns.org> In-Reply-To: <g0dn94zq.fsf@gits.dyndns.org> References: <200105291735.f4THZsf02716@heinz.jollem.com> <g0dn94zq.fsf@gits.dyndns.org>
next in thread | previous in thread | raw e-mail | index | archive | help
ernst@jollem.com writes:
[snip]
> diff -ruN --exclude=CVS --exclude=work /usr/ports/java/orion/pkg-deinstall /home/ernst/freebsd-ports/java/orion/pkg-deinstall
> --- /usr/ports/java/orion/pkg-deinstall Thu Jan 1 01:00:00 1970
> +++ /home/ernst/freebsd-ports/java/orion/pkg-deinstall Mon May 28 11:22:20 2001
> @@ -0,0 +1,8 @@
> +#!/bin/sh
> +PID_FILE=/var/run/orion.pid
> +if [ -e ${PID_FILE} ]; then
> + echo -n "Orion is still running."
> + /bin/kill `cat ${PID_FILE}`
> + rm -f ${PID_FILE}
> + echo " Stopped."
> +fi
As I told you messages <vgmluu39.fsf@gits.dyndns.org> and
<200105290016.f4T0GbU72454@gits.dyndns.org> in -ports, this
pkg-deinstall script isn't needed since it could be done as a one
liner to the beginning of pkg-plist such as :
@unexec [ -e /var/run/orion.pid ] && { echo killing orion.; kill `cat /var/run/orion.pid`; echo remoing pid file.; rm -f /var/run/orion.pid; }
I just wanted this noted in gnats. the commiter will decide :P
Cyrille.
--
home: mailto:clefevre@redirect.to UNIX is user-friendly; it's just particular
work: mailto:Cyrille.Lefevre@edf.fr about who it chooses to be friends with.
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-java" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?g0dndrqt.fsf>
