From 947b28369cbcfeb66e5f76423138c1a2b6e6d766 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Eray=20=C3=96zkural?= Date: Wed, 23 Nov 2005 14:08:41 +0000 Subject: [PATCH] * check comar connection before installation in check_requirements() --- pisi/atomicoperations.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/pisi/atomicoperations.py b/pisi/atomicoperations.py index 2f80ad6e..0b46b043 100644 --- a/pisi/atomicoperations.py +++ b/pisi/atomicoperations.py @@ -101,7 +101,10 @@ class Install(AtomicOperation): """check system requirements""" #TODO: IS THERE ENOUGH SPACE? # what to do if / is split into /usr, /var, etc. - pass + # check comar + if ctx.comar: + import pisi.comariface as comariface + com = comariface.make_com() def check_relations(self): # check conflicts