Commit 0b3ee931 authored by Yusei Tahara's avatar Yusei Tahara

downloadunpacked: Because shared part should not be uninstalled, install...

downloadunpacked: Because shared part should not be uninstalled, install method should return an empty list in shared mode.
parent 4cb4e518
...@@ -161,6 +161,7 @@ class Recipe: ...@@ -161,6 +161,7 @@ class Recipe:
if self.shared: if self.shared:
with open(os.path.join(self.parts, ".slapos.recipe.build.signature"), 'w') as f: with open(os.path.join(self.parts, ".slapos.recipe.build.signature"), 'w') as f:
f.write('\n'.join(self._debug_signature_text)) f.write('\n'.join(self._debug_signature_text))
return []
if self.parts is not None: if self.parts is not None:
return [self.parts] return [self.parts]
else: else:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment