From b57637c8b59ce71c3605ba095dbaa95c5253ae05 Mon Sep 17 00:00:00 2001 From: Ivan Anfimov Date: Sun, 28 Dec 2025 17:05:26 +0000 Subject: [PATCH] Update get_repos_info function Path to dnf.conf updated and remove /etc/zypp/repos.d/* Change-Id: I93f2f5fd5b1f44e21372bcac3852ee8c09ce2bdb Signed-off-by: Ivan Anfimov --- scripts/scripts-library.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/scripts-library.sh b/scripts/scripts-library.sh index c5846cc44c..716fa86ea2 100755 --- a/scripts/scripts-library.sh +++ b/scripts/scripts-library.sh @@ -260,7 +260,7 @@ function log_instance_info { } function get_repos_info { - for i in /etc/apt/sources.list /etc/apt/sources.list.d/* /etc/yum.conf /etc/yum.repos.d/* /etc/zypp/repos.d/*; do + for i in /etc/apt/sources.list /etc/apt/sources.list.d/* /etc/dnf/dnf.conf /etc/yum.repos.d/*; do if [ -f "${i}" ]; then echo -e "\n$i" cat $i