diff options
| author | Michael Simacek <msimacek@redhat.com> | 2016-05-23 16:07:30 +0200 |
|---|---|---|
| committer | Michael Simacek <msimacek@redhat.com> | 2016-05-23 16:07:30 +0200 |
| commit | f79aa31144cc8375a7cbb9e487caac890ffd7d78 (patch) | |
| tree | 8df2b4c60f01418639b22d459cf990f473853a1e | |
| parent | fecbde877d6c5153e5103ef8e81d66b28b8ec8c6 (diff) | |
Use --srpm repoquery arg
| -rw-r--r-- | roles/koschei/backend/files/koschei-refresh-group | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/roles/koschei/backend/files/koschei-refresh-group b/roles/koschei/backend/files/koschei-refresh-group index dfcf8664c..00aa8672e 100644 --- a/roles/koschei/backend/files/koschei-refresh-group +++ b/roles/koschei/backend/files/koschei-refresh-group @@ -8,4 +8,4 @@ repodata=`find /var/cache/koschei/repodata/ -maxdepth 1 -type d -name 'primary-f repoid=`basename $repodata` group=$1 shift -dnf repoquery --repofrompath "$repoid,$repodata/x86_64" --repoid "$repoid" --qf '%{sourcerpm}' "$@" | sed 's|-[^-]*-[^-]*$||' | koschei-admin edit-group "$group" --content-from-file - --append +dnf repoquery --repofrompath "$repoid,$repodata/x86_64" --repoid "$repoid" --srpm --qf '%{name}' "$@" | koschei-admin edit-group "$group" --content-from-file - --append |
