File setup_py.diff of Package cobbler.208

Index: setup.py
===================================================================
--- setup.py.orig
+++ setup.py
@@ -169,12 +169,15 @@ if __name__ == "__main__":
 
     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     = "/srv/www/"
     else:
         webconfig  = "/etc/httpd/conf.d"
+        vhostconfig = "/etc/httpd/conf.d"
         webroot     = "/var/www/"
 
     webcontent  = webroot + "cobbler_webui_content/"
@@ -215,7 +218,7 @@ if __name__ == "__main__":
             ("/usr/sbin", ["bin/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