During the non-interactive install task, create a config directory if one doesn't...
[java-idp.git] / build.xml
index 80e2da0..42239cd 100755 (executable)
--- a/build.xml
+++ b/build.xml
 
         <!-- 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" />