diff --git a/python/spacewalk/satellite_tools/mgr-sign-metadata-ctl b/python/spacewalk/satellite_tools/mgr-sign-metadata-ctl index 29f299ff017d..5df1cd4c6e50 100644 --- a/python/spacewalk/satellite_tools/mgr-sign-metadata-ctl +++ b/python/spacewalk/satellite_tools/mgr-sign-metadata-ctl @@ -299,7 +299,7 @@ elif [[ $ACTION = "check-channels" ]]; then if [ ! -d "$REPODATA_DIR/$ch" ]; then echo "ERROR. Channel $ch. Cached metadata not generated." else - if [[ -f "$REPODATA_DIR/$ch/Release.gpg" || -f "$REPODATA_DIR/$ch/Release.gpg" ]]; then + if [[ -f "$REPODATA_DIR/$ch/Release.gpg" || -f "$REPODATA_DIR/$ch/repomd.xml.asc" ]]; then echo "OK. Channel $ch. Cached metadata is signed." else echo "ERROR. Channel $ch. Cached metadata is not signed." diff --git a/python/spacewalk/spacewalk-backend.changes.mcalmer.fix-signed-check b/python/spacewalk/spacewalk-backend.changes.mcalmer.fix-signed-check new file mode 100644 index 000000000000..30e4f879f11e --- /dev/null +++ b/python/spacewalk/spacewalk-backend.changes.mcalmer.fix-signed-check @@ -0,0 +1,2 @@ +- Fix mgr-sign-metadata-ctl check-channels when checking for + signatures in repomd metadata (bsc#1233884)