Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 05 Sep 2006 10:09:58 -0700
From:      Doug Barton <dougb@FreeBSD.org>
To:        Hans Lambermont <hans@lambermont.dyndns.org>
Cc:        freebsd-ports@freebsd.org
Subject:   Re: portmaster deletes failed ports
Message-ID:  <44FDAF66.7090701@FreeBSD.org>
In-Reply-To: <20060905104831.GF89080@leia.lambermont.dyndns.org>
References:  <44FC4303.4050600@gmail.com>	<200609042118.09134.list-freebsd-2004@morbius.sent.com>	<44FC9527.6000802@gmail.com>	<200609050048.57718.list-freebsd-2004@morbius.sent.com> <20060905104831.GF89080@leia.lambermont.dyndns.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Hans Lambermont wrote:
> RW wrote:
> 
> ...
>> I don't use portmaster myself, but I just took a look at the script and, 
>> unless I'm missing something, it does appear that this feature is missing 
>> from portmaster. There an option to create backup packages, but nothing to  
>> automatically restore the previous version if the install fails. 
> 
> I can confirm this. The auto-restore-backup would be a nice feature.
> Doug ?  ;-)

I'm extremely reluctant to start trying to think for the user. Down that
path lies madness.

It's easy enough to 'echo BACKUP=yes >> ~/.portmasterrc' (or
/etc/portmaster.rc) and then do the restore yourself if it's a port that you
consider mission critical. If you're going to add that to the rc file, I
suggest you also do 'mkdir -p /usr/ports/packages/All' and that way you'll
always know where your backups are.

hth,

Doug

-- 

    This .signature sanitized for your protection




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