[LON-CAPA-cvs] cvs: doc /install/linux install.pl loncom/build distprobe
raeburn
raeburn at source.lon-capa.org
Thu Mar 18 17:40:03 EDT 2021
raeburn Thu Mar 18 21:40:03 2021 EDT
Modified files:
/loncom/build distprobe
/doc/install/linux install.pl
Log:
- Support CentOS Stream
Index: loncom/build/distprobe
diff -u loncom/build/distprobe:1.23 loncom/build/distprobe:1.24
--- loncom/build/distprobe:1.23 Tue Jul 2 19:40:31 2019
+++ loncom/build/distprobe Thu Mar 18 21:40:03 2021
@@ -2,7 +2,7 @@
#
# The LearningOnline Network with CAPA
#
-# $Id: distprobe,v 1.23 2019/07/02 19:40:31 raeburn Exp $
+# $Id: distprobe,v 1.24 2021/03/18 21:40:03 raeburn Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -64,7 +64,7 @@
$dist = 'rhes'.$1;
} elsif ($versionstring =~ /Red Hat Enterprise Linux release (\d+)/) {
$dist = 'rhes'.$1;
- } elsif ($versionstring =~ /CentOS(?:| Linux) release (\d+)/) {
+ } elsif ($versionstring =~ /CentOS(?:| Linux| Stream) release (\d+)/) {
$dist = 'centos'.$1;
} elsif ($versionstring =~ /Scientific Linux (?:SL )?release ([\d.]+) /) {
my $ver = $1;
Index: doc/install/linux/install.pl
diff -u doc/install/linux/install.pl:1.72 doc/install/linux/install.pl:1.73
--- doc/install/linux/install.pl:1.72 Thu Mar 18 21:37:19 2021
+++ doc/install/linux/install.pl Thu Mar 18 21:40:03 2021
@@ -78,7 +78,7 @@
&mt('Stopping execution.')."\n";
exit;
} else {
- print LOG '$Id: install.pl,v 1.72 2021/03/18 21:37:19 raeburn Exp $'."\n";
+ print LOG '$Id: install.pl,v 1.73 2021/03/18 21:40:03 raeburn Exp $'."\n";
}
#
@@ -212,7 +212,7 @@
$distro = 'rhes'.$1;
$updatecmd = 'dnf install LONCAPA-prerequisites';
$installnow = 'dnf -y install LONCAPA-prerequisites';
- } elsif ($versionstring =~ /CentOS(?:| Linux) release (\d+)/) {
+ } elsif ($versionstring =~ /CentOS(?:| Linux| Stream) release (\d+)/) {
$distro = 'centos'.$1;
$updatecmd = 'yum install LONCAPA-prerequisites';
$installnow = 'yum -y install LONCAPA-prerequisites';
More information about the LON-CAPA-cvs
mailing list