Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 07 Oct 2002 20:04:45 -0600 (MDT)
From:      "M. Warner Losh" <imp@bsdimp.com>
To:        FreeBSD-current@FreeBSD.org
Subject:   Re: Removing old binaries
Message-ID:  <20021007.200445.132068030.imp@bsdimp.com>
In-Reply-To: <20021008015928.GO57557@wantadilla.lemis.com>
References:  <20021008012532.GF57557@wantadilla.lemis.com> <p05111724b9c7e8a1bc14@[128.113.24.47]> <20021008015928.GO57557@wantadilla.lemis.com>

next in thread | previous in thread | raw e-mail | index | archive | help
I'd be inclined to just have a file with the a list and do something
like the following at the end of Makefile.inc1, just after we do the
sendmail install.

.if (PURGE_OBSOELETE_FILES)
	@rm -fr `cat /etc/obsolete`
.else if (SAVE_ONSOLETE_FILES)
	@mkdir /usr/obsolete
	@mv -f `cat /etc/obsolete` /usr/obsolete
.endif

Warner

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




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