forth step ,change default language to chinese

This commit is contained in:
root
2011-02-22 16:58:18 +08:00
parent 49c2ac8b51
commit 1f3216863c
4 changed files with 13 additions and 7 deletions

View File

@@ -2,6 +2,7 @@
import re
import commands
import ri_oper
from xml.dom import minidom
from xml.dom.ext import PrettyPrint
@@ -420,6 +421,8 @@ p_node - xml node (parent node)'''
return False
elif dr in ['/','/boot'] and fs in ['reiserfs','xfs']:
return False
elif dr in ['/boot'] and ri_oper.Operation.getarch() == "ia64" and fs not in ['vfat']:
return False
return True