modified: ri_func_dep.py
update
This commit is contained in:
@@ -61,10 +61,8 @@ class RAID(FunctionDepending):
|
||||
FunctionDepending.__init__(self, 'mdadm')
|
||||
|
||||
def check(self):
|
||||
if 'mdadm' not in Pkg.list:
|
||||
for i in ri_data.Raid.dict.values():
|
||||
if i.from_os == 'no' or i.from_os == 'yes':
|
||||
return False
|
||||
if 'mdadm' not in Pkg.list and ri_data.Raid.dict:
|
||||
return False
|
||||
return True
|
||||
|
||||
def error(self):
|
||||
|
||||
Reference in New Issue
Block a user