From owner-freebsd-isdn Thu Jul 29 5:13: 4 1999 Delivered-To: freebsd-isdn@freebsd.org Received: from post.ruh-bath.swest.nhs.uk (hide14.nhs.uk [194.6.81.14]) by hub.freebsd.org (Postfix) with ESMTP id 8C90E14ED4 for ; Thu, 29 Jul 1999 05:11:54 -0700 (PDT) (envelope-from rich@ruh-bath.swest.nhs.uk) Received: by post.ruh-bath.swest.nhs.uk with Internet Mail Service (5.5.2448.0) id ; Thu, 29 Jul 1999 13:11:52 +0100 Message-ID: <930BFA16390CD3119E010000F6E660C9A55E@fear.ruh-bath.swest.nhs.uk> From: "Wood, Richard" To: "'Andrej.Brodnik@IBC.IskraSistemi.Si'" , chris@sdata.de Cc: freebsd-isdn@FreeBSD.ORG Subject: RE: overuninstall.sh and i4b_rbch_ioctl.h Date: Thu, 29 Jul 1999 13:11:43 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2448.0) Content-Type: text/plain; charset="ISO-8859-1" Sender: owner-freebsd-isdn@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > -----Original Message----- > From: Andrej Brodnik [mailto:brodnik@IBC.IskraSistemi.Si] > Sent: 29 July 1999 12:59 > > $RMCMD $1 > if [ -e $1-BACKUP ] > then > echo "moving $1-BACKUP" > echo " back to $1" But that would remove the original file even if there was no backup to replace it with, which is not the desired result. overuninstall.sh only backs out changes made by overinstall.sh, i.e. it checks to see if a -BACKUP is available, and if so, removes the original and replaces it with the -BACKUP version. If there is no -BACKUP version, the file has not been upgraded with overinstall.sh and therefore there is (or there should be) no change to back out. Rich -- Rich Wood Home: rich@dynamite.org, rich@FreeBSD.org.uk Work: rich@ruh-bath.swest.nhs.uk, rich@systemagic.co.uk To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isdn" in the body of the message