[LON-CAPA-cvs] cvs: loncom /build CHECKRPMS
raeburn
raeburn at source.lon-capa.org
Thu Oct 24 12:38:32 EDT 2024
raeburn Thu Oct 24 16:38:32 2024 EDT
Modified files:
/loncom/build CHECKRPMS
Log:
- Support Rocky Linux 8 & 9 and AlmaLinux 8 & 9.
Index: loncom/build/CHECKRPMS
diff -u loncom/build/CHECKRPMS:1.19 loncom/build/CHECKRPMS:1.20
--- loncom/build/CHECKRPMS:1.19 Wed Oct 23 20:34:39 2019
+++ loncom/build/CHECKRPMS Thu Oct 24 16:38:32 2024
@@ -3,7 +3,7 @@
# The LearningOnline Network with CAPA
# Checks status of RPM packages on system.
#
-# $Id: CHECKRPMS,v 1.19 2019/10/23 20:34:39 raeburn Exp $
+# $Id: CHECKRPMS,v 1.20 2024/10/24 16:38:32 raeburn Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -44,7 +44,7 @@
fedora < 22; rhel (5, 6, 7); centos/scientific/oracle linux <=7 - yum
fedora >= 22 - dnf
-rhel/centos/oracle linux >= 8 - dnf
+rhel/centos/oracle/rocky/alma linux >= 8 - dnf
suse 9.X and sles9 - you
suse 10.2, 10.3, 11.X and 12.X; sles (>= 11) - zypper
sles10, suse10.1 - rug
@@ -144,7 +144,7 @@
&prepare_msg($tmpfile,$cmd);
($send,$addsubj) = &check_with_yum_or_dnf($tmpfile,'dnf');
}
-} elsif ($distro =~ /^(?:centos|scientific|oracle)(\d+)$/) {
+} elsif ($distro =~ /^(?:centos|scientific|oracle|rocky|alma)(\d+)$/) {
my $version = $1;
if ($version <= 7) {
$cmd = 'yum update';
More information about the LON-CAPA-cvs
mailing list