2
0
Эх сурвалжийг харах

fixed description strings for before_extract and after_extract

networkjanitor 4 жил өмнө
parent
commit
c5776447b9

+ 2 - 2
borgmatic/commands/borgmatic.py

@@ -96,7 +96,7 @@ def run_configuration(config_filename, config, arguments):
                 hooks.get('before_extract'),
                 hooks.get('before_extract'),
                 hooks.get('umask'),
                 hooks.get('umask'),
                 config_filename,
                 config_filename,
-                'pre-check',
+                'pre-extract',
                 global_arguments.dry_run,
                 global_arguments.dry_run,
             )
             )
         if prune_create_or_check:
         if prune_create_or_check:
@@ -178,7 +178,7 @@ def run_configuration(config_filename, config, arguments):
                     hooks.get('after_extract'),
                     hooks.get('after_extract'),
                     hooks.get('umask'),
                     hooks.get('umask'),
                     config_filename,
                     config_filename,
-                    'post-check',
+                    'post-extract',
                     global_arguments.dry_run,
                     global_arguments.dry_run,
                 )
                 )
             if prune_create_or_check:
             if prune_create_or_check: