def __init__(self): PackagerBase.__init__(self) self.command = None if sysutils.which("dnf") is not None: self.command = "dnf" elif sysutils.which("yum") is not None: self.command = "yum"
def __init__(self): PackagerBase.__init__(self) self.command = None if sysutils.which('dnf') is not None: self.command = 'dnf' elif sysutils.which('yum') is not None: self.command = 'yum'
def __init__(self): PackagerBase.__init__(self) if self.cfg.get_active_prefix().prefix_dir is None: self.log.error("No prefix specified. Aborting.") raise PBException("No prefix specified.") self.prefix = self.cfg.get_active_prefix() self.inventory = self.prefix.inventory self.static = False
def __init__(self): PackagerBase.__init__(self) if self.cfg.get_active_prefix().prefix_dir is None: self.log.error("No prefix specified. Aborting.") exit(1) self.prefix = self.cfg.get_active_prefix() self.inventory = self.prefix.inventory self.static = False
def __init__(self): PackagerBase.__init__(self)
def __init__(self): PackagerBase.__init__(self) self.packager = None