Add Fedora 31

This commit is contained in:
Yorhel 2020-03-14 10:57:20 +01:00
parent 1d8490dde9
commit 18f792b443
2 changed files with 8 additions and 2 deletions

View file

@ -246,7 +246,8 @@ INSERT INTO systems (id, name, release, short, relorder) VALUES
(193,'Ubuntu', '19.10', 'ubuntu-eoan', 30),
(194,'CentOS', '7.7', 'centos-7.7', 51),
(195,'CentOS', '8.0', 'centos-8.0', 60),
(196,'CentOS', '8.1', 'centos-8.1', 61);
(196,'CentOS', '8.1', 'centos-8.1', 61),
(197,'Fedora', '31', 'fedora-31', 30);
-- Removes any path components and compression extensions from the filename.

View file

@ -113,6 +113,10 @@ case "$1" in
index rpm --sys fedora-30 --cat everything --mirror "${CMIRROR}releases/30/Everything/x86_64/os/"
index rpm --sys fedora-30 --cat everything --mirror "${CMIRROR}updates/30/Everything/x86_64/"
;;
31)
index rpm --sys fedora-31 --cat everything --mirror "${CMIRROR}releases/31/Everything/x86_64/os/"
index rpm --sys fedora-31 --cat everything --mirror "${CMIRROR}updates/31/Everything/x86_64/"
;;
old)
$0 1
$0 2
@ -142,10 +146,11 @@ case "$1" in
$0 26
$0 27
$0 28
$0 29
;;
current)
$0 29
$0 30
$0 31
;;
all)
$0 old