Skip to content

Commit ff62964

Browse files
authored
Fix Rawhide repo addition command in build script
1 parent 0a6707f commit ff62964

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

build_files/build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ else
5353
log "Mode: Rawhide KDE stack (only KDE groups, build deps, dev tools)"
5454
RAW_URL="https://mirrors.fedoraproject.org/metalink?repo=rawhide&arch=$ARCH"
5555
log "Adding Rawhide mirrorlist repo"
56-
if ! dnf5 -y config-manager addrepo "$RAW_URL" 2>"$DNF_ERR"; then
56+
if ! dnf5 -y config-manager addrepo --from-repofile="$RAW_URL" 2>"$DNF_ERR"; then
5757
error "Failed to add Rawhide repo: $(grep -v '^Last metadata' $DNF_ERR | head -n5)"
5858
fi
5959
# repo id is usually 'rawhide' or 'fedora-rawhide'

0 commit comments

Comments
 (0)