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] epel10: Fix crb script for RHEL rhui repositories
Date: Thu, 18 Jun 2026 16:21:08 GMT [thread overview]
Message-ID: <178179966816.1.3154044053450715259.rpms-epel-release-5e487f51e6fc@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/epel-release
Branch : epel10
Commit : 5e487f51e6fc622c504c8078d8aac40aa0d1aaa9
Author : Robert Scheck <robert@fedoraproject.org>
Date : 2026-06-18T12:29:28+00:00
Stats : +2/-2 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/epel-release/c/5e487f51e6fc622c504c8078d8aac40aa0d1aaa9?branch=epel10
Log:
Fix crb script for RHEL rhui repositories
---
diff --git a/crb b/crb
index dfdd88f..1218be7 100755
--- a/crb
+++ b/crb
@@ -41,7 +41,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
@@ -53,7 +53,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
reply other threads:[~2026-06-18 16:21 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=178179966816.1.3154044053450715259.rpms-epel-release-5e487f51e6fc@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