version 1.5, 2013/12/05 17:26:03
|
version 1.6, 2014/06/03 20:35:04
|
Line 49 if ('<DIST />' eq 'sles9' || '<DIST />'
|
Line 49 if ('<DIST />' eq 'sles9' || '<DIST />'
|
close(PIPE); |
close(PIPE); |
} |
} |
} elsif ('<DIST />' eq 'debian5' || '<DIST />' eq 'debian6' || '<DIST />' eq 'ubuntu6' || |
} elsif ('<DIST />' eq 'debian5' || '<DIST />' eq 'debian6' || '<DIST />' eq 'ubuntu6' || |
'<DIST />' eq 'ubuntu8' || '<DIST />' eq 'ubuntu10' || '<DIST />' eq 'ubuntu12') { |
'<DIST />' eq 'ubuntu8' || '<DIST />' eq 'ubuntu10' || '<DIST />' eq 'ubuntu12' || |
|
'<DIST />' eq 'ubuntu14') { |
if (open(PIPE,"cat /etc/default/locale |grep '^LANG' |")) { |
if (open(PIPE,"cat /etc/default/locale |grep '^LANG' |")) { |
print "Checking OS language"; |
print "Checking OS language"; |
if (<PIPE> =~ /^LANG="en/) { |
if (<PIPE> =~ /^LANG="en/) { |