diff options
-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: |