[LON-CAPA-cvs] cvs: loncom / lond
raeburn
raeburn at source.lon-capa.org
Fri Jan 2 21:43:05 EST 2015
raeburn Sat Jan 3 02:43:05 2015 EDT
Modified files:
/loncom lond
Log:
- Support SLES12.
Index: loncom/lond
diff -u loncom/lond:1.513 loncom/lond:1.514
--- loncom/lond:1.513 Sat Jan 3 02:34:36 2015
+++ loncom/lond Sat Jan 3 02:43:05 2015
@@ -2,7 +2,7 @@
# The LearningOnline Network
# lond "LON Daemon" Server (port "LOND" 5663)
#
-# $Id: lond,v 1.513 2015/01/03 02:34:36 raeburn Exp $
+# $Id: lond,v 1.514 2015/01/03 02:43:05 raeburn Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -61,7 +61,7 @@
my $status='';
my $lastlog='';
-my $VERSION='$Revision: 1.513 $'; #' stupid emacs
+my $VERSION='$Revision: 1.514 $'; #' stupid emacs
my $remoteVERSION;
my $currenthostid="default";
my $currentdomainid;
@@ -6629,7 +6629,7 @@
&Authen::Krb5::init_context();
my $no_ets;
- if ($dist =~ /^(?:centos|rhes)(\d+)$/) {
+ if ($dist =~ /^(?:centos|rhes|scientific)(\d+)$/) {
if ($1 >= 7) {
$no_ets = 1;
}
@@ -6637,6 +6637,10 @@
if (($1 eq '9.3') || ($1 >= 12.2)) {
$no_ets = 1;
}
+ } elsif ($dist =~ /^sles(\d+)$/) {
+ if ($1 > 11) {
+ $no_ets = 1;
+ }
} elsif ($dist =~ /^fedora(\d+)$/) {
if ($1 < 7) {
$no_ets = 1;
More information about the LON-CAPA-cvs
mailing list