[LON-CAPA-cvs] cvs: loncom /build make_domain_coordinator.pl
raeburn
raeburn at source.lon-capa.org
Fri Jan 2 21:45:23 EST 2015
raeburn Sat Jan 3 02:45:23 2015 EDT
Modified files:
/loncom/build make_domain_coordinator.pl
Log:
- Support SLES12.
Index: loncom/build/make_domain_coordinator.pl
diff -u loncom/build/make_domain_coordinator.pl:1.26 loncom/build/make_domain_coordinator.pl:1.27
--- loncom/build/make_domain_coordinator.pl:1.26 Fri Dec 20 21:13:02 2013
+++ loncom/build/make_domain_coordinator.pl Sat Jan 3 02:45:22 2015
@@ -11,7 +11,7 @@
# The LearningOnline Network
# make_domain_coordinator.pl - Make a domain coordinator on a system
#
-# $Id: make_domain_coordinator.pl,v 1.26 2013/12/20 21:13:02 raeburn Exp $
+# $Id: make_domain_coordinator.pl,v 1.27 2015/01/03 02:45:22 raeburn Exp $
#
# This file is part of the LearningOnline Network with CAPA (LON-CAPA).
#
@@ -371,6 +371,10 @@
if ($1 > 12.2) {
$nostdin = 1;
}
+} elsif ($distro =~ /^sles(\d+)$/) {
+ if ($1 > 11) {
+ $nostdin = 1;
+ }
}
if ($nostdin) {
open(OUT,"|usermod -p `mkpasswd $passwd` $username");
More information about the LON-CAPA-cvs
mailing list