Issue #18 - wes2bridge will now correctly handle starting multiple instances of edex; a new wes2bridge.instance jvm parameter was added to edex so the edex service startup script will be able to correctly determine which edex instance is associated with a particular wes2bridge case.

Former-commit-id: 55a759fb8a [formerly 47807beb71c03e26cbe4fa78bf9cdb0811a51042]
Former-commit-id: 64cdd27f62
This commit is contained in:
Bryan Kowal 2012-03-16 12:16:48 -05:00
parent 7bdde9f690
commit 117306c734
5 changed files with 15 additions and 0 deletions

View file

@ -203,6 +203,21 @@ fi
%pre
%post
# We need to create a link to the python shared library if it does not exist.
pushd . > /dev/null 2>&1
if [ -d /awips2/python/lib ]; then
cd /awips2/python/lib
if [ -L libpython.so ]; then
# Ensure that we are pointing to the correct shared library.
rm -f libpython.so
fi
if [ -f libpython2.7.so.1.0 ]; then
ln -s libpython2.7.so.1.0 libpython.so
fi
fi
popd > /dev/null 2>&1
%preun
%postun