aboutsummaryrefslogtreecommitdiff
path: root/src/artifact.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/artifact.py')
-rw-r--r--src/artifact.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/artifact.py b/src/artifact.py
index 49530a3..010bc6b 100644
--- a/src/artifact.py
+++ b/src/artifact.py
@@ -124,6 +124,10 @@ class ArchiveArtifact(Artifact):
if not location:
location = os.path.join(self.basedir, "content")
+ # Check if we already provided the archive at location
+ if os.path.exists(location):
+ return
+
os.makedirs(location, exist_ok=True)
# Extract archive