Commit bd91037f authored by Yusei Tahara's avatar Yusei Tahara

Revert "To check shared directory is not enough. Shared directory may be...

Revert "To check shared directory is not enough. Shared directory may be created before completing installation. Check signature file too."

This reverts commit ea8ac2d2.
parent ea8ac2d2
...@@ -285,8 +285,7 @@ class Recipe(object): ...@@ -285,8 +285,7 @@ class Recipe(object):
# In shared mode, do nothing if package has been installed. # In shared mode, do nothing if package has been installed.
if (not self.options['shared'] == ''): if (not self.options['shared'] == ''):
log.info('Checking whether package is installed at shared path: %s', self.options['shared']) log.info('Checking whether package is installed at shared path: %s', self.options['shared'])
if slapos.recipe.downloadunpacked.test_shared_part( if os.path.exists(self.options['shared']):
self.options['shared'], '\n'.join(self._debug_signature_text)):
log.info('This shared package has been installed by other package') log.info('This shared package has been installed by other package')
return parts return parts
......
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