diff options
author | Mike Frysinger <vapier@gentoo.org> | 2005-05-05 02:12:06 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2005-05-05 02:12:06 +0000 |
commit | ca269ca24f91acdc89163dc49314a1c174988109 (patch) | |
tree | ff304510d1524f65c50cc57e1040c379f0c47924 /pym | |
parent | make sure ldscripts exist in /usr/lib when static/dynamic libs are in /usr/li... (diff) | |
download | portage-cvs-ca269ca24f91acdc89163dc49314a1c174988109.tar.gz portage-cvs-ca269ca24f91acdc89163dc49314a1c174988109.tar.bz2 portage-cvs-ca269ca24f91acdc89163dc49314a1c174988109.zip |
only check digests when unpacking/fetching #29333
Diffstat (limited to 'pym')
-rw-r--r-- | pym/ebuild.py | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/pym/ebuild.py b/pym/ebuild.py index ccacec0..07d1a35 100644 --- a/pym/ebuild.py +++ b/pym/ebuild.py @@ -2,7 +2,7 @@ # ebuild.py; Ebuild classes/abstraction of phase processing, and communicating with a ebuild-daemon.sh instance # Copyright 2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -#$Header: /local/data/ulm/cvs/history/var/cvsroot/gentoo-src/portage/pym/ebuild.py,v 1.24 2005/05/04 01:07:04 vapier Exp $ +#$Header: /local/data/ulm/cvs/history/var/cvsroot/gentoo-src/portage/pym/ebuild.py,v 1.25 2005/05/05 02:12:06 vapier Exp $ import os,sys,traceback @@ -770,10 +770,11 @@ class ebuild_handler: return (not digestgen(aalist,mysettings,overwrite=1,verbosity=verbosity)) if mydo=="manifest": return (not digestgen(aalist,mysettings,overwrite=1,manifestonly=1,verbosity=verbosity)) - - if not digestcheck(checkme, mysettings, ("strict" in features),verbosity=verbosity): - return 1 - + + if mydo=="fetch" or mydo=="unpack": + if not digestcheck(checkme, mysettings, ("strict" in features),verbosity=verbosity): + return 1 + if mydo=="fetch": return 0 |