mirror of
https://github.com/kiwix/kiwix-build.git
synced 2025-06-27 21:39:34 +00:00
Use the full_name as for the skip file marker.
This way we are sure to download the last archive all the time.
This commit is contained in:
@ -51,6 +51,10 @@ class Source:
|
||||
def name(self):
|
||||
return self.target.name
|
||||
|
||||
@property
|
||||
def full_name(self):
|
||||
return self.target.full_name()
|
||||
|
||||
@property
|
||||
def source_dir(self):
|
||||
return self.target.full_name()
|
||||
@ -110,7 +114,7 @@ class ReleaseDownload(Source):
|
||||
return pj(neutralEnv('source_dir'), self.source_dir)
|
||||
|
||||
def _download(self, context):
|
||||
context.try_skip(neutralEnv('archive_dir'), self.name)
|
||||
context.try_skip(neutralEnv('archive_dir'), self.full_name)
|
||||
neutralEnv('download')(self.archive)
|
||||
|
||||
def _extract(self, context):
|
||||
|
Reference in New Issue
Block a user