Skip to content

Commit

Permalink
Clear import path before import
Browse files Browse the repository at this point in the history
  • Loading branch information
vsedmik committed Dec 4, 2023
1 parent 0cf7c73 commit 5a34d16
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions robottelo/host_helpers/satellite_mixins.py
Original file line number Diff line number Diff line change
Expand Up @@ -200,6 +200,7 @@ def move_pulp_archive(self, org, export_message):
sets ownership, returns import path
"""
self.execute(
f'rm -rf {PULP_IMPORT_DIR}/{org.name} &&'
f'mv {PULP_EXPORT_DIR}/{org.name} {PULP_IMPORT_DIR} && '
f'chown -R pulp:pulp {PULP_IMPORT_DIR}'
)
Expand Down

0 comments on commit 5a34d16

Please sign in to comment.