Fix up config file management for 2.4 release.
authorScott Cantor <cantor.2@osu.edu>
Tue, 9 Nov 2010 20:18:37 +0000 (20:18 +0000)
committerScott Cantor <cantor.2@osu.edu>
Tue, 9 Nov 2010 20:18:37 +0000 (20:18 +0000)
msi/scripts/shib_edit_config_files.vbs

index fcfdfe7..5b70b0a 100644 (file)
@@ -171,14 +171,6 @@ if (Err = 0) then
     FileSystemObj.CopyFile DistDir & "shibboleth.logger", ConfigDir, false
   End If
 
-  If (NOT FileSystemObj.FileExists(ConfigDir & "example-metadata.xml")) then
-    FileSystemObj.CopyFile DistDir & "example-metadata.xml", ConfigDir, false
-  End If
-
-  If (NOT FileSystemObj.FileExists(ConfigDir & "example-shibboleth2.xml")) then
-    FileSystemObj.CopyFile DistDir & "example-shibboleth2.xml", ConfigDir, false
-  End If
-
   If (NOT FileSystemObj.FileExists(ConfigDir & "attribute-map.xml")) then
     FileSystemObj.CopyFile DistDir & "attribute-map.xml", ConfigDir, false
   End If
@@ -191,7 +183,11 @@ if (Err = 0) then
     FileSystemObj.CopyFile DistDir & "security-policy.xml", ConfigDir, false
   End If
 
-  ' Finally, fix up schema catalogs.
+  If (NOT FileSystemObj.FileExists(ConfigDir & "protocols.xml")) then
+    FileSystemObj.CopyFile DistDir & "protocols.xml", ConfigDir, false
+  End If
+  
+  'Finally, fix up schema catalogs.
   
   XMLDir = InstallDir & "\share\xml\xmltooling\"
   ConfigFile = XMLDir & "catalog.xml"