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: