public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/epel-release] epel10: Fix crb script for RHEL rhui repositories
@ 2026-06-18 16:21 Robert Scheck
0 siblings, 0 replies; only message in thread
From: Robert Scheck @ 2026-06-18 16:21 UTC (permalink / raw)
To: git-commits
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
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-06-18 16:21 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-06-18 16:21 [rpms/epel-release] epel10: Fix crb script for RHEL rhui repositories Robert Scheck
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox