Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 29 Jul 1999 13:11:43 +0100
From:      "Wood, Richard" <rich@ruh-bath.swest.nhs.uk>
To:        "'Andrej.Brodnik@IBC.IskraSistemi.Si'" <Andrej.Brodnik@IBC.IskraSistemi.Si>, chris@sdata.de
Cc:        freebsd-isdn@FreeBSD.ORG
Subject:   RE: overuninstall.sh and i4b_rbch_ioctl.h
Message-ID:  <930BFA16390CD3119E010000F6E660C9A55E@fear.ruh-bath.swest.nhs.uk>

next in thread | raw e-mail | index | archive | help
> -----Original Message-----
> From: Andrej Brodnik [mailto:brodnik@IBC.IskraSistemi.Si]
> Sent: 29 July 1999 12:59

> <snip>
>                 $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




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