directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pamarce...@apache.org
Subject svn commit: r694198 - /directory/installers/trunk/apacheds/src/main/installers/apacheds-init
Date Thu, 11 Sep 2008 09:58:33 GMT
Author: pamarcelot
Date: Thu Sep 11 02:58:32 2008
New Revision: 694198

URL: http://svn.apache.org/viewvc?rev=694198&view=rev
Log:
Fix for DIRSERVER-1249 (rc.d init script doesn't work for Mandriva Linux : location of "id"
binary).

Modified:
    directory/installers/trunk/apacheds/src/main/installers/apacheds-init

Modified: directory/installers/trunk/apacheds/src/main/installers/apacheds-init
URL: http://svn.apache.org/viewvc/directory/installers/trunk/apacheds/src/main/installers/apacheds-init?rev=694198&r1=694197&r2=694198&view=diff
==============================================================================
--- directory/installers/trunk/apacheds/src/main/installers/apacheds-init (original)
+++ directory/installers/trunk/apacheds/src/main/installers/apacheds-init Thu Sep 11 02:58:32
2008
@@ -312,9 +312,13 @@
             IDEXE="/usr/bin/id"
             if [ ! -x "$IDEXE" ]
             then
-                echo "Unable to locate 'id'."
-                echo "Please report this message along with the location of the command on
your system."
-                exit 1
+                IDEXE="/bin/id"
+                if [ ! -x "$IDEXE" ]
+                then
+                    echo "Unable to locate 'id'."
+                    echo "Please report this message along with the location of the command
on your system."
+                    exit 1
+                fi
             fi
         fi
 



Mime
View raw message