version 1.19, 2019/10/23 20:34:39
|
version 1.20, 2024/10/24 16:38:32
|
Line 44 The utility which is used to complete th
|
Line 44 The utility which is used to complete th
|
|
|
fedora < 22; rhel (5, 6, 7); centos/scientific/oracle linux <=7 - yum |
fedora < 22; rhel (5, 6, 7); centos/scientific/oracle linux <=7 - yum |
fedora >= 22 - dnf |
fedora >= 22 - dnf |
rhel/centos/oracle linux >= 8 - dnf |
rhel/centos/oracle/rocky/alma linux >= 8 - dnf |
suse 9.X and sles9 - you |
suse 9.X and sles9 - you |
suse 10.2, 10.3, 11.X and 12.X; sles (>= 11) - zypper |
suse 10.2, 10.3, 11.X and 12.X; sles (>= 11) - zypper |
sles10, suse10.1 - rug |
sles10, suse10.1 - rug |
Line 144 if ($distro =~ /^fedora(\d+)$/) {
|
Line 144 if ($distro =~ /^fedora(\d+)$/) {
|
&prepare_msg($tmpfile,$cmd); |
&prepare_msg($tmpfile,$cmd); |
($send,$addsubj) = &check_with_yum_or_dnf($tmpfile,'dnf'); |
($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; |
my $version = $1; |
if ($version <= 7) { |
if ($version <= 7) { |
$cmd = 'yum update'; |
$cmd = 'yum update'; |