During the non-interactive install task, create a config directory if one doesn't...
authorwassa <wassa@ab3bd59b-922f-494d-bb5f-6f0a3c29deca>
Wed, 25 May 2005 20:57:13 +0000 (20:57 +0000)
committerwassa <wassa@ab3bd59b-922f-494d-bb5f-6f0a3c29deca>
Wed, 25 May 2005 20:57:13 +0000 (20:57 +0000)
git-svn-id: https://subversion.switch.ch/svn/shibboleth/java-idp/trunk@1579 ab3bd59b-922f-494d-bb5f-6f0a3c29deca

build.xml

index 80e2da0..42239cd 100755 (executable)
--- a/build.xml
+++ b/build.xml
 
         <!-- copy IdP configuration -->
         <if>
 
         <!-- copy IdP configuration -->
         <if>
-            <equals arg1="${copy-idp-conf}" arg2="y" />
+            <or>
+                <equals arg1="${copy-idp-conf}" arg2="y" />
+                <not> <available file="${shib.home}/etc" /> </not>
+            </or>
             <then>
                 <delete dir="${shib.home}/etc" />
                 <antcall target="install.idp.filesystem.config" />
             <then>
                 <delete dir="${shib.home}/etc" />
                 <antcall target="install.idp.filesystem.config" />