From owner-cvs-all@FreeBSD.ORG Sat Nov 25 07:30:13 2006 Return-Path: X-Original-To: cvs-all@FreeBSD.org Delivered-To: cvs-all@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 2977916A62C; Sat, 25 Nov 2006 07:30:13 +0000 (UTC) (envelope-from cperciva@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.FreeBSD.org (Postfix) with ESMTP id C0BA343D5A; Sat, 25 Nov 2006 07:29:26 +0000 (GMT) (envelope-from cperciva@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.6/8.13.6) with ESMTP id kAP7UCxp086965; Sat, 25 Nov 2006 07:30:12 GMT (envelope-from cperciva@repoman.freebsd.org) Received: (from cperciva@localhost) by repoman.freebsd.org (8.13.6/8.13.4/Submit) id kAP7UCP2086964; Sat, 25 Nov 2006 07:30:12 GMT (envelope-from cperciva) Message-Id: <200611250730.kAP7UCP2086964@repoman.freebsd.org> From: Colin Percival Date: Sat, 25 Nov 2006 07:30:12 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/usr.sbin/freebsd-update freebsd-update.sh X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 25 Nov 2006 07:30:13 -0000 cperciva 2006-11-25 07:30:12 UTC FreeBSD src repository Modified files: usr.sbin/freebsd-update freebsd-update.sh Log: Three minor bug fixes: 1. When downloading metadata files, make sure we only download each file once; without this fix, "freebsd-update fetch" will fail the first time it is run if there have been no updates yet for the installed release. 2. If the FOO kernel is installed in /boot/kernel instead of /boot/FOO and the /boot/FOO directory does not exist, don't try to update /boot/FOO. This is an issue only where an update involves adding a new kernel module. 3. When removing files and directories, operate in reverse lexographical order, in order to ensure that files are removed before the directory which contains them. MFC after: 3 days Revision Changes Path 1.4 +18 -8 src/usr.sbin/freebsd-update/freebsd-update.sh