From 0891edd2a18ce6c7f60d74f5ee515944278a1452 Mon Sep 17 00:00:00 2001 From: Michael Tremer Date: Thu, 21 Jul 2011 23:45:30 +0200 Subject: [PATCH] Allow pakfire command to work on chrooted ipfire systems. --- pakfire/base.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pakfire/base.py b/pakfire/base.py index 0e97b9c4b..f0705bdae 100644 --- a/pakfire/base.py +++ b/pakfire/base.py @@ -46,7 +46,8 @@ class Pakfire(object): elif mode == "normal": # check if we are actually running on an ipfire system. - self.check_is_ipfire() + if self.path == "/": + self.check_is_ipfire() # Read configuration file(s) self.config = config.Config(type=mode) -- 2.39.5