version 1.37, 2024/06/20 04:04:54
|
version 1.38, 2024/06/22 19:33:23
|
Line 69 if ('<DIST />' eq 'sles9' || '<DIST />'
|
Line 69 if ('<DIST />' eq 'sles9' || '<DIST />'
|
'<DIST />' eq 'suse12.3' || '<DIST />' eq 'suse13.1' || '<DIST />' eq 'suse13.2') { |
'<DIST />' eq 'suse12.3' || '<DIST />' eq 'suse13.1' || '<DIST />' eq 'suse13.2') { |
if (open(PIPE,"cat /etc/sysconfig/language |grep '^RC_LANG' |")) { |
if (open(PIPE,"cat /etc/sysconfig/language |grep '^RC_LANG' |")) { |
print "Checking OS language"; |
print "Checking OS language"; |
if (<PIPE> =~ /^RC_LANG="en/) { |
if (<PIPE> =~ /^RC_LANG="?en/) { |
print "... OK\n"; |
print "... OK\n"; |
} else { |
} else { |
print $osmsg. |
print $osmsg. |
Line 84 if ('<DIST />' eq 'sles9' || '<DIST />'
|
Line 84 if ('<DIST />' eq 'sles9' || '<DIST />'
|
'<DIST />' eq 'debian10' || '<DIST />' eq 'debian11' || '<DIST />' eq 'debian12') { |
'<DIST />' eq 'debian10' || '<DIST />' eq 'debian11' || '<DIST />' eq 'debian12') { |
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/) { |
print "... OK\n"; |
print "... OK\n"; |
} else { |
} else { |
print $osmsg. |
print $osmsg. |
Line 107 if ('<DIST />' eq 'sles9' || '<DIST />'
|
Line 107 if ('<DIST />' eq 'sles9' || '<DIST />'
|
'<DIST />' eq 'rocky9' || '<DIST />' eq 'alma9') { |
'<DIST />' eq 'rocky9' || '<DIST />' eq 'alma9') { |
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/) { |
print "... OK\n"; |
print "... OK\n"; |
} else { |
} else { |
print $osmsg. |
print $osmsg. |