mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-03-20 03:57:02 +08:00
Make koschei-refresh-group work with current dnf
This commit is contained in:
@@ -8,5 +8,5 @@ repodata=`find /var/cache/koschei/repodata/ -path '*/primary-f*' -name repomd.xm
|
||||
repoid=`grep -o 'primary-[^/]*' <<< "$repodata"`
|
||||
group=$1
|
||||
shift
|
||||
dnf repoquery -q --available --repofrompath "$repoid,$repodata" --disablerepo \* --enablerepo "$repoid" --repoid "$repoid" --qf '%{sourcerpm}' "$@" | sed 's|-[^-]*-[^-]*$||' \
|
||||
dnf repoquery -q --available --repofrompath "$repoid,$repodata" --disablerepo \* --enablerepo "$repoid" --qf '%{sourcerpm}' "$@" | sed 's|-[^-]*-[^-]*$||' \
|
||||
| koschei-admin edit-group "$group" --content-from-file - --append
|
||||
|
||||
Reference in New Issue
Block a user