version 1.14, 2018/10/26 21:39:44
|
version 1.15, 2019/07/02 19:40:27
|
Line 112 if ($dist =~ /^fedora(\d+)$/) {
|
Line 112 if ($dist =~ /^fedora(\d+)$/) {
|
key => 'gpgkey=', |
key => 'gpgkey=', |
value => $gpg, |
value => $gpg, |
}],$nobackup); |
}],$nobackup); |
} elsif ($dist =~ /^(rhes|centos|scientific)(\d+)$/) { |
} elsif ($dist =~ /^(rhes|centos|scientific|oracle)(\d+)$/) { |
my $type = $1; |
my $type = $1; |
my $ver = $2; |
my $ver = $2; |
my $longver = $ver; |
my $longver = $ver; |
Line 142 if ($dist =~ /^fedora(\d+)$/) {
|
Line 142 if ($dist =~ /^fedora(\d+)$/) {
|
gpg => 'versions/scientific/RPM-GPG-KEY-loncapa', |
gpg => 'versions/scientific/RPM-GPG-KEY-loncapa', |
gpgchk => 1, |
gpgchk => 1, |
}, |
}, |
|
oracle => { |
|
title => 'Oracle Linux', |
|
path => 'oracle/loncapa', |
|
gpg => 'versions/oracle/RPM-GPG-KEY-loncapa', |
|
gpgchk => 1, |
|
}, |
); |
); |
if (ref($info{$type}) eq 'HASH') { |
if (ref($info{$type}) eq 'HASH') { |
if ($ver > 4) { |
if ($ver > 4) { |