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

This commit is contained in:
Eray Özkural
2005-12-15 01:43:57 +00:00
parent f91a628f04
commit cbba806a5a
+1 -1
View File
@@ -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: