From bdcdc5b244ea5deb35ff92787e1fb4068968d9dd Mon Sep 17 00:00:00 2001 From: Michael DeHaan Date: Mon, 12 May 2008 14:15:40 -0400 Subject: Apply patch to remove anti-createrepo conditions, bump version. --- cobbler/action_reposync.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cobbler') diff --git a/cobbler/action_reposync.py b/cobbler/action_reposync.py index d6b30bc..495aa3a 100644 --- a/cobbler/action_reposync.py +++ b/cobbler/action_reposync.py @@ -285,7 +285,7 @@ class RepoSync: """ Used to run createrepo on a copied mirror. """ - if os.path.exists(os.path.join(dirname,"RPMS")) or repo.is_rsync_mirror(): + if os.path.exists(dirname) or repo.is_rsync_mirror(): utils.remove_yum_olddata(dirname) try: cmd = "createrepo %s %s" % (repo.createrepo_flags, dirname) -- cgit