From 5cabd395cb44f4b66fe5ab9d747294d8804f438e Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Wed, 1 Nov 2006 10:10:05 +0000 Subject: [PATCH] For bug #116616, only run the post_process phase if necessary. svn path=/main/trunk/; revision=4903 --- bin/archive-conf | 6 ++++-- 1 file 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: -- 2.26.2