--- loncom/build/CHECKRPMS 2019/10/23 20:34:39 1.19 +++ loncom/build/CHECKRPMS 2024/10/24 16:38:32 1.20 @@ -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 @@ The utility which is used to complete th 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 @@ if ($distro =~ /^fedora(\d+)$/) { &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';