chore(Containerfile): Fix loop logic (#2201)

This commit is contained in:
Zeglius 2025-01-29 01:37:05 +01:00 committed by GitHub
parent f2091c6ebf
commit 307bace01e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -178,7 +178,7 @@ RUN --mount=type=cache,dst=/var/cache/libdnf5 \
["copr:copr.fedorainfracloud.org:ublue-os:staging"]="fwupd" \
) && \
for repo in "${!toswap[@]}"; do \
for package in ${toswap[$repo]}; do dnf5 -y swap --repo=$repo $package $package; done; \
for package in "${toswap[@]}"; do dnf5 -y swap --repo=$repo $package $package; done; \
done && unset -v toswap repo package && \
dnf5 -y install --enable-repo="*rpmfusion*" \
libaacs \