示例#1
0
文件: yum.py 项目: johan--/pybombs
 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"
示例#2
0
文件: yum.py 项目: n-west/pybombs2
 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'
示例#3
0
文件: yum.py 项目: djgrasss/pybombs2
 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'
示例#4
0
 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
示例#5
0
文件: source.py 项目: vosgus/pybombs
 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
示例#6
0
 def __init__(self):
     PackagerBase.__init__(self)
示例#7
0
 def __init__(self):
     PackagerBase.__init__(self)
示例#8
0
 def __init__(self):
     PackagerBase.__init__(self)
     self.packager = None
示例#9
0
文件: extern.py 项目: ckuethe/pybombs
 def __init__(self):
     PackagerBase.__init__(self)
     self.packager = None