Fix problems with configure mountpoint when auto install:
1. configure root mountpoint ok and and just press Enter when the focus on no button, errors occur. modified: text/auto_install.py
This commit is contained in:
@@ -41,11 +41,13 @@ while True :
|
||||
elif list[count] == 'mountpoint':
|
||||
ri_newt.MountPoint()
|
||||
s = ri_newt.Screen.dict[list[count]].set_data()
|
||||
|
||||
if int(s) == 0:
|
||||
count = count + 1
|
||||
else:
|
||||
count = count - 1
|
||||
try:
|
||||
if int(s) == 0:
|
||||
count = count + 1
|
||||
else:
|
||||
count = count - 1
|
||||
except:
|
||||
pass
|
||||
|
||||
if count < 0 or count > len(list) - 1:
|
||||
try:
|
||||
|
||||
Reference in New Issue
Block a user