aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2006-11-01 10:10:05 +0000
committerZac Medico <zmedico@gentoo.org>2006-11-01 10:10:05 +0000
commit5cabd395cb44f4b66fe5ab9d747294d8804f438e (patch)
tree1ebfdd32370dfa5cdfdfdf200f60a7ed3650948b /bin/archive-conf
parentFor bug #129670, skip the replace-cvs and replace-wscomments tests if the dif... (diff)
downloadportage-5cabd395cb44f4b66fe5ab9d747294d8804f438e.tar.gz
portage-5cabd395cb44f4b66fe5ab9d747294d8804f438e.tar.bz2
portage-5cabd395cb44f4b66fe5ab9d747294d8804f438e.zip
For bug #116616, only run the post_process phase if necessary.
svn path=/main/trunk/; revision=4903
Diffstat (limited to 'bin/archive-conf')
-rwxr-xr-xbin/archive-conf6
1 files changed, 4 insertions, 2 deletions
diff --git a/bin/archive-conf b/bin/archive-conf
index b3d17cc6f..310687581 100755
--- a/bin/archive-conf
+++ b/bin/archive-conf
@@ -93,10 +93,12 @@ def archive_conf():
archive = os.path.join(options['archive-dir'], conf.lstrip('/'))
if options['use-rcs'] == 'yes':
dispatch_conf.rcs_archive(archive, conf, md5_match_hash[conf], '')
- dispatch_conf.rcs_archive_post_process(archive)
+ if md5_match_hash[conf]:
+ dispatch_conf.rcs_archive_post_process(archive)
else:
dispatch_conf.file_archive(archive, conf, md5_match_hash[conf], '')
- dispatch_conf.file_archive_post_process(archive)
+ if md5_match_hash[conf]:
+ dispatch_conf.file_archive_post_process(archive)
# run
if len(sys.argv) > 1: