From a83006be96307397ebfac227525182a781fd6bde Mon Sep 17 00:00:00 2001 From: Chris Gianelloni Date: Wed, 26 Jan 2005 15:34:28 +0000 Subject: [PATCH] Fixed find line for new stage1 /var/db/pkg. git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/catalyst/trunk@527 d1e1f19c-881f-0410-ab34-b69fee027534 --- ChangeLog | 6 +++++- targets/stage1/stage1-preclean2-chroot.sh | 4 ++-- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index d9248ea4..7c9f6014 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for gentoo/src/catalyst # Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo/src/catalyst/ChangeLog,v 1.153 2005/01/25 22:54:00 wolf31o2 Exp $ +# $Header: /var/cvsroot/gentoo/src/catalyst/ChangeLog,v 1.154 2005/01/26 15:34:28 wolf31o2 Exp $ + + 26 Jan 2005; Chris Gianelloni + targets/stage1/stage1-preclean2-chroot.sh: + Fixed find line for new stage1 /var/db/pkg. 25 Jan 2005; Chris Gianelloni targets/stage1/stage1-preclean2-chroot.sh: diff --git a/targets/stage1/stage1-preclean2-chroot.sh b/targets/stage1/stage1-preclean2-chroot.sh index 469b642a..fd6cad35 100755 --- a/targets/stage1/stage1-preclean2-chroot.sh +++ b/targets/stage1/stage1-preclean2-chroot.sh @@ -1,7 +1,7 @@ #!/bin/bash # Copyright 1999-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo/src/catalyst/targets/stage1/Attic/stage1-preclean2-chroot.sh,v 1.6 2005/01/25 22:54:00 wolf31o2 Exp $ +# $Header: /var/cvsroot/gentoo/src/catalyst/targets/stage1/Attic/stage1-preclean2-chroot.sh,v 1.7 2005/01/26 15:34:28 wolf31o2 Exp $ # now, some finishing touches to initialize gcc-config.... unset ROOT @@ -21,4 +21,4 @@ else fi # this cleans out /var/db, but leaves behind files portage needs for removal -find /var/db/pkg -type f | grep -v '\(COUNTER\|CONTENTS\|ebuild\)' -exec rm -f '{}' \; +find /var/db/pkg -type f | grep -v '\(COUNTER\|CONTENTS\|ebuild\)' | xargs rm -f -- 2.26.2