summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJiri Moskovcak <jmoskovc@redhat.com>2010-03-11 23:50:47 +0100
committerJiri Moskovcak <jmoskovc@redhat.com>2010-03-11 23:50:47 +0100
commit87cc9488bd08a5f17318ddd70cbfcdb4182f8b16 (patch)
tree3961c0bfd2556455e50eeb196c700f2fc6ec94d8 /src
parent0943d6b8e8f44935a529a01acb6b18c3caf279a2 (diff)
downloadabrt-87cc9488bd08a5f17318ddd70cbfcdb4182f8b16.tar.gz
abrt-87cc9488bd08a5f17318ddd70cbfcdb4182f8b16.tar.xz
abrt-87cc9488bd08a5f17318ddd70cbfcdb4182f8b16.zip
minor fix in abrt-debuginfo-install to make it work with yum >= 3.2.26
- yum repolist has different output, so it needs to bu run with additional parameter 'all'
Diffstat (limited to 'src')
-rwxr-xr-xsrc/Daemon/abrt-debuginfo-install2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Daemon/abrt-debuginfo-install b/src/Daemon/abrt-debuginfo-install
index 0d9401b1..521d42ae 100755
--- a/src/Daemon/abrt-debuginfo-install
+++ b/src/Daemon/abrt-debuginfo-install
@@ -303,7 +303,7 @@ $debug && echo "build_ids:$build_ids"
# When we look for debuginfo we need only -debuginfo* repos, we can disable the rest
# and thus make it faster.
yum_repo_opts="'--disablerepo=*'"
-for enabled_repo in `yum repolist | grep 'enabled:' | cut -f1 -d' ' | grep -v -- '-debuginfo'`; do
+for enabled_repo in `yum repolist all | grep 'enabled:' | cut -f1 -d' ' | grep -v -- '-debuginfo'`; do
yum_repo_opts="$yum_repo_opts '--enablerepo=${enabled_repo}-debuginfo*'"
done