mirror of
https://github.com/tuna/tunasync-scripts.git
synced 2025-04-19 11:42:43 +00:00
Merge pull request #154 from siegy22/patch-1
Allow centos 8-stream to be mirrored
This commit is contained in:
commit
6197c02054
@ -153,7 +153,7 @@ def main():
|
|||||||
help='download repodata files instead of generating them')
|
help='download repodata files instead of generating them')
|
||||||
args = parser.parse_args()
|
args = parser.parse_args()
|
||||||
|
|
||||||
if '-' in args.os_version:
|
if '-' in args.os_version and '-stream' not in args.os_version:
|
||||||
dash = args.os_version.index('-')
|
dash = args.os_version.index('-')
|
||||||
os_list = [ str(i) for i in range(
|
os_list = [ str(i) for i in range(
|
||||||
int(args.os_version[:dash]),
|
int(args.os_version[:dash]),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user