From 09cac511fb61298c8d0f331696ea6bfd42392da9 Mon Sep 17 00:00:00 2001 From: Neil Hanlon Date: Thu, 4 Apr 2024 00:43:43 -0400 Subject: [PATCH] fix: rocky 8 repo names are capital --- mangle/rlutil.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mangle/rlutil.py b/mangle/rlutil.py index f1d0133..9846312 100644 --- a/mangle/rlutil.py +++ b/mangle/rlutil.py @@ -33,7 +33,7 @@ command = parser.parse_args().cmd def all_rocky_files( directory_path = '/etc/yum.repos.d', - filter_filename = lambda file: 'rocky' in file) -> list: + filter_filename = lambda file: 'rocky' in file.lower() -> list: """ Filter out specified files """