From: Zac Medico Date: Wed, 1 Nov 2006 10:10:05 +0000 (-0000) Subject: For bug #116616, only run the post_process phase if necessary. X-Git-Tag: v2.1.2~520 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=5cabd395cb44f4b66fe5ab9d747294d8804f438e;p=portage.git For bug #116616, only run the post_process phase if necessary. svn path=/main/trunk/; revision=4903 --- 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: