diff options
author | Zac Medico <zmedico@gentoo.org> | 2006-11-01 10:10:05 +0000 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2006-11-01 10:10:05 +0000 |
commit | 5cabd395cb44f4b66fe5ab9d747294d8804f438e (patch) | |
tree | 1ebfdd32370dfa5cdfdfdf200f60a7ed3650948b | |
parent | ef86f1d5bfadc9af73d09f613053640267680189 (diff) | |
download | portage-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
-rwxr-xr-x | bin/archive-conf | 6 |
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: |