]> git.argeo.org Git - gpl/argeo-slc.git/blobdiff - dep/org.argeo.slc.dep.rcp/src/main/rpm/usr/bin/slc-rcp
Support 32 bits (not yet tested)
[gpl/argeo-slc.git] / dep / org.argeo.slc.dep.rcp / src / main / rpm / usr / bin / slc-rcp
index d9766c396b5df470077ba406377a6834e9539a23..406e625c35a33d4f860a4c294f52a4e85cd462cf 100644 (file)
@@ -1,6 +1,11 @@
 #!/bin/sh
 
-LIB_BASE=/usr/lib64
+if [ -d /usr/lib64 ]; 
+then
+       LIB_BASE=/usr/lib64
+else
+       LIB_BASE=/usr/lib
+fi
 OSGI_FRAMEWORK=$LIB_BASE/eclipse/plugins/org.eclipse.osgi_3.6.1.R36x_v20100806.jar
 ECLIPSE_LAUNCHER=$LIB_BASE/eclipse/plugins/org.eclipse.equinox.launcher_1.1.0.v20100507.jar
 INSTALL_DIR=/usr/share/osgi/rcp