* also in remove, do not invoke comar unless absolutely necessary
This commit is contained in:
@@ -370,7 +370,7 @@ class Remove(AtomicOperation):
|
|||||||
remove_file = staticmethod(remove_file)
|
remove_file = staticmethod(remove_file)
|
||||||
|
|
||||||
def run_preremove(self):
|
def run_preremove(self):
|
||||||
if ctx.comar:
|
if ctx.comar and self.package.providesComar:
|
||||||
import pisi.comariface as comariface
|
import pisi.comariface as comariface
|
||||||
comariface.run_preremove(self.package_name)
|
comariface.run_preremove(self.package_name)
|
||||||
else:
|
else:
|
||||||
|
|||||||
Reference in New Issue
Block a user