Kaydet (Commit) cbba806a authored tarafından Eray Özkural's avatar Eray Özkural

* also in remove, do not invoke comar unless absolutely necessary

üst f91a628f
......@@ -370,7 +370,7 @@ class Remove(AtomicOperation):
remove_file = staticmethod(remove_file)
def run_preremove(self):
if ctx.comar:
if ctx.comar and self.package.providesComar:
import pisi.comariface as comariface
comariface.run_preremove(self.package_name)
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