Merge "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." into 9-Wes2Bridge
Former-commit-id:f49e1f5e03
[formerly9a0f313c23
] [formerly65b8521ccb
] [formerlyf49e1f5e03
[formerly9a0f313c23
] [formerly65b8521ccb
] [formerlyd45249fb2f
[formerly65b8521ccb
[formerly 866c197c927445c1572fd19da1ebd3c8dee46d97]]]] Former-commit-id:d45249fb2f
Former-commit-id:5a0a8b242e
[formerlybf867f91d3
] [formerly 0ce00cf1a62830ded14e3abd22f133c7ff516662 [formerlyf5c96c4af2
]] Former-commit-id: c2e4c9799d04d5d5864e79ad4c41bb6b59ffc40a [formerly1929f1df8e
] Former-commit-id:249304a035
This commit is contained in:
commit
399103daef
5 changed files with 15 additions and 0 deletions
|
@ -203,6 +203,21 @@ fi
|
||||||
|
|
||||||
%pre
|
%pre
|
||||||
%post
|
%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
|
%preun
|
||||||
%postun
|
%postun
|
||||||
|
|
||||||
|
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading…
Add table
Reference in a new issue