Blame SOURCES/cobbler-no-remove-pub-bz707215.patch

1330ca
--- cobbler/action_sync.py	2011-05-27 16:05:40.000000000 +0200
1330ca
+++ cobbler/action_sync.py	2011-05-27 16:05:53.000000000 +0200
1330ca
@@ -182,7 +182,7 @@
1330ca
                 if not x.endswith(".py"):
1330ca
                     utils.rmfile(path,logger=self.logger)
1330ca
             if os.path.isdir(path):
1330ca
-                if not x in ["aux", "web", "webui", "localmirror","repo_mirror","ks_mirror","images","links","repo_profile","repo_system","svc","rendered",".link_cache"] :
1330ca
+                if not x in ["aux", "web", "webui", "localmirror","repo_mirror","ks_mirror","images","links","repo_profile","repo_system","svc","rendered",".link_cache", "pub"] :
1330ca
                     # delete directories that shouldn't exist
1330ca
                     utils.rmtree(path,logger=self.logger)
1330ca
                 if x in ["kickstarts","kickstarts_sys","images","systems","distros","profiles","repo_profile","repo_system","rendered"]: