From cbba806a5ab7eea06ce320538807ec5464c827ea Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Eray=20=C3=96zkural?= Date: Thu, 15 Dec 2005 01:43:57 +0000 Subject: [PATCH] * also in remove, do not invoke comar unless absolutely necessary --- pisi/atomicoperations.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pisi/atomicoperations.py b/pisi/atomicoperations.py index 26b13637..ea83650c 100644 --- a/pisi/atomicoperations.py +++ b/pisi/atomicoperations.py @@ -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: