public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Robert Scheck <robert@fedoraproject.org>
To: git-commits@fedoraproject.org
Subject: [rpms/epel-release] epel9: Fix crb script for RHEL rhui repositories (#2308671 #c9)
Date: Thu, 18 Jun 2026 16:20:54 GMT [thread overview]
Message-ID: <178179965470.1.1999396883464025518.rpms-epel-release-037c1b041022@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/epel-release
Branch : epel9
Commit : 037c1b0410229c500f151db15d50cab5787a8d96
Author : Robert Scheck <robert@fedoraproject.org>
Date : 2026-05-26T16:55:29+00:00
Stats : +2/-2 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/epel-release/c/037c1b0410229c500f151db15d50cab5787a8d96?branch=epel9
Log:
Fix crb script for RHEL rhui repositories (#2308671 #c9)
---
diff --git a/crb b/crb
index 452de3d..d450103 100755
--- a/crb
+++ b/crb
@@ -32,7 +32,7 @@ usage() {
# Show the status
show_status()(
# Determine if a version of CRB is enabled
- crb_repo=$(dnf repolist | grep -i -e crb -e powertools -e codeready | grep -v -i -e debug -e source -e eus -e virt -e rhui | awk '{print $1}')
+ crb_repo=$(dnf repolist | grep -i -e crb -e powertools -e codeready | grep -v -i -e debug -e source -e eus -e virt | awk '{print $1}' | head -n1)
if [ "${crb_repo}" == "" ] ; then
echo "CRB repo is disabled"
else
@@ -44,7 +44,7 @@ show_status()(
enable_disable_repo(){
command="$1"
# Determine which repo we need to change
- crb_repo=$(dnf repolist --all | grep -i -e crb -e powertools -e codeready | grep -v -i -e debug -e source -e eus -e virt -e rhui | awk '{print $1}')
+ crb_repo=$(dnf repolist --all | grep -i -e crb -e powertools -e codeready | grep -v -i -e debug -e source -e eus -e virt | awk '{print $1}' | head -n1)
# Determine if we are on RHEL or not, then do the correct steps
source /etc/os-release
next reply other threads:[~2026-06-18 16:20 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-06-18 16:20 Robert Scheck [this message]
2026-06-23 22:01 [rpms/epel-release] epel9: Fix crb script for RHEL rhui repositories (#2308671 #c9) Troy Dawson
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=178179965470.1.1999396883464025518.rpms-epel-release-037c1b041022@fedoraproject.org \
--to=robert@fedoraproject.org \
--cc=git-commits@fedoraproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox