Make koschei-refresh-group work with current dnf
This commit is contained in:
parent
9955f3a0d6
commit
127ecb9134
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue