Touchup.
authorNicholas Jones <carpaski@gentoo.org>
Wed, 30 Oct 2002 05:28:37 +0000 (05:28 +0000)
committerNicholas Jones <carpaski@gentoo.org>
Wed, 30 Oct 2002 05:28:37 +0000 (05:28 +0000)
sys-apps/portage/portage-2.0.43.ebuild

index 8eab1daf2c3c87e656e48d71a765cc7f63d4086b..a104441dd14c5aa46fe0f36dd503580754fada50 100644 (file)
@@ -1,6 +1,6 @@
 # Copyright 1999-2002 Gentoo Technologies, Inc. 
 # Distributed under the terms of the GNU General Public License v2 
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/portage/portage-2.0.43.ebuild,v 1.2 2002/10/30 05:27:02 carpaski Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/portage/portage-2.0.43.ebuild,v 1.3 2002/10/30 05:28:37 carpaski Exp $
 
 IUSE="build"
 
@@ -165,6 +165,7 @@ pkg_postinst() {
 
        # Changes in the size of auxdbkeys can cause aux_get() problems.
        echo -n ">>> Clearing invalid entries in dependancy cache..."
+       cd ${ROOT}var/cache/edb/dep
        rm -f $(find ${ROOT}var/cache/edb/dep -type f -exec wc -l {} \; | egrep -v "^ *"$(python -c 'import portage; print str(len(portage.auxdbkeys))') | sed 's:^ \+[0-9]\+ \+\([^ ]\+\)$:\1:')
        echo " ...done!"