ansible-role-kojihub/templates/opt/rocky-tools/regen-buildrepos.sh
2020-12-23 12:46:25 -07:00

6 lines
179 B
Bash

#!/bin/bash
# adapted from centos
logfile=/var/tmp/koji-regen-repo.log
for buildroot in $(koji list-tags \*-build); do
koji regen-repo --nowait $buildroot >> $logfile 2>&1
done