summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--cobbler/action_reposync.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/cobbler/action_reposync.py b/cobbler/action_reposync.py
index 3728f12b..d1d5950a 100644
--- a/cobbler/action_reposync.py
+++ b/cobbler/action_reposync.py
@@ -131,8 +131,9 @@ class RepoSync:
if repo.arch != "":
if repo.arch == "x86":
repo.arch = "i386" # FIX potential arch errors
+ if repo.arch == "i386":
# counter-intuitive, but we want the newish kernels too
- cmd = "%s -a i686" % (cmd, repo.arch)
+ cmd = "%s -a i686" % (cmd)
else:
cmd = "%s -a %s" % (cmd, repo.arch)