From 4d131dd4cacb6990506552d615dbacdb94256916 Mon Sep 17 00:00:00 2001 From: Michael DeHaan Date: Tue, 1 May 2007 16:25:53 -0400 Subject: in rawhide, apparently yumdownloader doesn't accept --config but does accept -c. --- cobbler/action_reposync.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cobbler/action_reposync.py') 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: -- cgit