From owner-freebsd-isdn Thu Jul 29 6:17:15 1999 Delivered-To: freebsd-isdn@freebsd.org Received: from Dolinca.IBC.IskraSistemi.Si (Dolinca.IBC.IskraSistemi.Si [194.249.213.241]) by hub.freebsd.org (Postfix) with ESMTP id 91B3314F4A for ; Thu, 29 Jul 1999 06:17:04 -0700 (PDT) (envelope-from brodnik@Dolinca.IBC.IskraSistemi.Si) Received: (from brodnik@localhost) by Dolinca.IBC.IskraSistemi.Si (8.8.8/8.8.7) id PAA16881; Thu, 29 Jul 1999 15:21:42 +0200 (CEST) (envelope-from brodnik) From: Andrej Brodnik (Andy) Message-Id: <199907291321.PAA16881@Dolinca.IBC.IskraSistemi.Si> Subject: patches In-Reply-To: <930BFA16390CD3119E010000F6E660C9A562@fear.ruh-bath.swest.nhs.uk> from "Wood, Richard" at "Jul 29, 1999 1:56: 5 pm" To: rich@ruh-bath.swest.nhs.uk (Wood Richard) Date: Thu, 29 Jul 1999 15:21:42 +0200 (CEST) Cc: freebsd-isdn@FreeBSD.ORG Organization: IBC, Iskra Systems Reply-To: Andrej.Brodnik@IBC.IskraSistemi.SI (Andrej Brodnik (Andy)) X-Mailer: ELM [version 2.4ME+ PL43 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-isdn@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > From: "Wood, Richard" > Subject: RE: overuninstall.sh and i4b_rbch_ioctl.h > Date: Thu, 29 Jul 1999 13:56:05 +0100 > > -----Original Message----- > > From: hm@hcs.de [mailto:hm@hcs.de] > > Sent: 29 July 1999 13:37 > > > Ideas, anyone ? > > Now, my shell scripting isn't much use to anyone, but my suggestion would be > as follows > > In move_and_link in overinstall, check to see if $2 exists, if it doesn't > create $2-NOBACKUP and link $1 and $2 as normal. > > In remove_and_restore in overuninstall, check for the existance of > $1-NOBACKUP, if it exists remove $1 and $1-NOBACKUP. > > This should cover installing and uninstalling files which get added between > versions. > > I'll try to send some patches tonight. First, how/where does one send patches. LPA PS: IMHO, in remove_and_restore the proper check (if NOBACKUP was created as said above) is: if (( [ -e $1-BACKUP ] ) -a (!([ -e $1-NOBACKUP ])) ) -o \ ((!([ -e $1-BACKUP ])) -a ( [ -e $1-NOBACKUP ])) ) then To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isdn" in the body of the message