directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From akaras...@apache.org
Subject svn commit: r385850 - in /directory/branches/daemon/1.0/plugin/src/main/resources/org/apache/directory/daemon/installers: izpack/server.init rpm/server.init
Date Tue, 14 Mar 2006 18:43:01 GMT
Author: akarasulu
Date: Tue Mar 14 10:43:00 2006
New Revision: 385850

URL: http://svn.apache.org/viewcvs?rev=385850&view=rev
Log:
fixing conditionals for setting the application home variable

Modified:
    directory/branches/daemon/1.0/plugin/src/main/resources/org/apache/directory/daemon/installers/izpack/server.init
    directory/branches/daemon/1.0/plugin/src/main/resources/org/apache/directory/daemon/installers/rpm/server.init

Modified: directory/branches/daemon/1.0/plugin/src/main/resources/org/apache/directory/daemon/installers/izpack/server.init
URL: http://svn.apache.org/viewcvs/directory/branches/daemon/1.0/plugin/src/main/resources/org/apache/directory/daemon/installers/izpack/server.init?rev=385850&r1=385849&r2=385850&view=diff
==============================================================================
--- directory/branches/daemon/1.0/plugin/src/main/resources/org/apache/directory/daemon/installers/izpack/server.init
(original)
+++ directory/branches/daemon/1.0/plugin/src/main/resources/org/apache/directory/daemon/installers/izpack/server.init
Tue Mar 14 10:43:00 2006
@@ -80,13 +80,9 @@
   # try to find install home 
   if [ -d ${app.install.base} ] ; then
     ${app.caps}_HOME=${app.install.base}
-  fi
-
-  if [ -d "$HOME/${app}-${version}" ] ; then
+  elif [ -d "$HOME/${app}-${version}" ] ; then
     ${app.caps}_HOME="$HOME/${app}-${version}"
-  fi
-
-  if [ -d "/Applications/${app}-${version}" ] ; then
+  elif [ -d "/Applications/${app}-${version}" ] ; then
     ${app.caps}_HOME=/Applications/${app}-${version}
   fi
 fi

Modified: directory/branches/daemon/1.0/plugin/src/main/resources/org/apache/directory/daemon/installers/rpm/server.init
URL: http://svn.apache.org/viewcvs/directory/branches/daemon/1.0/plugin/src/main/resources/org/apache/directory/daemon/installers/rpm/server.init?rev=385850&r1=385849&r2=385850&view=diff
==============================================================================
--- directory/branches/daemon/1.0/plugin/src/main/resources/org/apache/directory/daemon/installers/rpm/server.init
(original)
+++ directory/branches/daemon/1.0/plugin/src/main/resources/org/apache/directory/daemon/installers/rpm/server.init
Tue Mar 14 10:43:00 2006
@@ -75,13 +75,9 @@
   # try to find install home 
   if [ -d ${app.install.base} ] ; then
     ${app.caps}_HOME=${app.install.base}
-  fi
-
-  if [ -d "$HOME/${app}-${version}" ] ; then
+  elif [ -d "$HOME/${app}-${version}" ] ; then
     ${app.caps}_HOME="$HOME/${app}-${version}"
-  fi
-
-  if [ -d "/Applications/${app}-${version}" ] ; then
+  elif [ -d "/Applications/${app}-${version}" ] ; then
     ${app.caps}_HOME=/Applications/${app}-${version}
   fi
 fi



Mime
View raw message