Date: Wed, 30 May 2001 05:10:03 -0700 (PDT) From: Cyrille Lefevre <clefevre-lists@noos.fr> To: freebsd-ports@FreeBSD.org Subject: Re: ports/27748: Update port: java/orion (1.4.5_4 -> 1.4.5_5) Message-ID: <200105301210.f4UCA3x57896@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/27748; it has been noted by GNATS. 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) Date: 30 May 2001 13:02:34 +0200 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-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200105301210.f4UCA3x57896>