version 1.8, 2015/01/03 03:00:18
|
version 1.9, 2015/01/19 20:39:59
|
Line 62 if ('<DIST />' eq 'sles9' || '<DIST />'
|
Line 62 if ('<DIST />' eq 'sles9' || '<DIST />'
|
close(PIPE); |
close(PIPE); |
} |
} |
} elsif ('<DIST />' eq 'fedora18' || '<DIST />' eq 'fedora19' || '<DIST />' eq 'fedora20' || |
} elsif ('<DIST />' eq 'fedora18' || '<DIST />' eq 'fedora19' || '<DIST />' eq 'fedora20' || |
'<DIST />' eq 'rhes7' || '<DIST />' eq 'centos7' || '<DIST />' eq 'scientific7') { |
'<DIST />' eq 'fedora21' || '<DIST />' eq 'rhes7' || '<DIST />' eq 'centos7' || |
|
'<DIST />' eq 'scientific7') { |
if (open(PIPE,"cat /etc/locale.conf |grep '^LANG' |")) { |
if (open(PIPE,"cat /etc/locale.conf |grep '^LANG' |")) { |
print "Checking OS language"; |
print "Checking OS language"; |
if (<PIPE> =~ /^LANG="en/) { |
if (<PIPE> =~ /^LANG="en/) { |