summaryrefslogtreecommitdiffstats
path: root/cobbler/action_reposync.py
diff options
context:
space:
mode:
authorMichael DeHaan <mdehaan@mdehaan.rdu.redhat.com>2007-05-01 16:25:53 -0400
committerMichael DeHaan <mdehaan@mdehaan.rdu.redhat.com>2007-05-01 16:25:53 -0400
commit4d131dd4cacb6990506552d615dbacdb94256916 (patch)
treefcee1efff472c49f06c717366864ec1328c19fbe /cobbler/action_reposync.py
parent7639f691b69b26069f198501a59c71be04d7493a (diff)
downloadthird_party-cobbler-4d131dd4cacb6990506552d615dbacdb94256916.tar.gz
third_party-cobbler-4d131dd4cacb6990506552d615dbacdb94256916.tar.xz
third_party-cobbler-4d131dd4cacb6990506552d615dbacdb94256916.zip
in rawhide, apparently yumdownloader doesn't accept --config but does
accept -c.
Diffstat (limited to 'cobbler/action_reposync.py')
-rw-r--r--cobbler/action_reposync.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/cobbler/action_reposync.py b/cobbler/action_reposync.py
index f0febd8..f144498 100644
--- a/cobbler/action_reposync.py
+++ b/cobbler/action_reposync.py
@@ -135,7 +135,7 @@ class RepoSync:
# if we only want certain RPMs, use yumdownloader (likely more than once)
# FIXME: yumdownloader has a current bug where --resolve blows up
# removing --resolve until I get the email from bugzilla saying it's fixed.
- cmd = "/usr/bin/yumdownloader --config=%s --destdir=%s %s" %(temp_file, dest_path, " ".join(repo.rpm_list))
+ cmd = "/usr/bin/yumdownloader -c %s --destdir=%s %s" %(temp_file, dest_path, " ".join(repo.rpm_list))
print "- %s" % cmd
cmds.append(cmd)
else: