File setup_py.diff of Package cobbler

--- setup.py
+++ setup.py	2011/04/04 10:13:41
@@ -124,12 +124,15 @@
 
     if os.path.exists("/etc/SuSE-release"):
         webconfig  = "/etc/apache2/conf.d"
+        vhostconfig = "/etc/apache2/vhosts.d"
         webroot     = "/srv/www/"
     elif os.path.exists("/etc/debian_version"):
         webconfig  = "/etc/apache2/conf.d"
+        vhostconfig = "/etc/apache2/conf.d"
         webroot     = "/usr/share/cobbler/webroot/"
     else:
         webconfig  = "/etc/httpd/conf.d"
+        vhostconfig = "/etc/apache2/conf.d"
         webroot     = "/var/www/"
 
     webcontent  = webroot + "cobbler_webui_content/"
@@ -169,7 +172,7 @@
             ("/usr/sbin", ["scripts/tftpd.py"]),
 
             ("%s" % webconfig,              ["config/cobbler.conf"]),
-            ("%s" % webconfig,              ["config/cobbler_web.conf"]),
+            ("%s" % vhostconfig,            ["config/cobbler_web.conf"]),
             ("%s" % initpath,               ["config/cobblerd"]),
             ("%s" % docpath,                ["docs/*.gz"]),
             ("installer_templates",         ["installer_templates/*"]),
openSUSE Build Service is sponsored by