From: Gareth S B. <bes...@us...> - 2005-05-19 23:21:02
|
Update of /cvsroot/sblim/sfcb In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv14551 Modified Files: installsfcb.sh Log Message: misc updates Index: installsfcb.sh =================================================================== RCS file: /cvsroot/sblim/sfcb/installsfcb.sh,v retrieving revision 1.3 retrieving revision 1.4 diff -u -d -r1.3 -r1.4 --- installsfcb.sh 18 May 2005 05:03:43 -0000 1.3 +++ installsfcb.sh 19 May 2005 23:20:52 -0000 1.4 @@ -32,7 +32,7 @@ if [[ $_ANSWER = "N" || $_ANSWER = "n" ]]; then exit 1; fi # Check if there is an existing install script anywhere that will break autoconf -for _FILE in ./install-sh ./install.sh ../install-sh ../install.sh; do +for _FILE in ../install-sh ../install.sh; do if [[ -e $_FILE ]]; then echo "Existing $_FILE will break autoconf! Please remove/rename it and re-run $0" exit 1 @@ -189,7 +189,12 @@ # Start up the sfcbd, albeit without any namespaces or registered classes echo -n "Starting sfcb. Enter Root " -su --preserve-environment --command "killall -q -9 sfcbd; sleep 1; $_PREFIX/etc/init.d/sfcb start" +su --preserve-environment --command ' + for _LIB in $( find $_PREFIX/lib -name "libsfc*.0.0.0" ); do + _NEWLIB=${_LIB%.0.0} + if [[ ! -e $_NEWLIB ]]; then ln -s $_LIB $_NEWLIB; fi + done; + killall -q -9 sfcbd; sleep 1; $_PREFIX/etc/init.d/sfcb start' echo sleep 1 if ! ps -C sfcbd > /dev/null; then @@ -339,17 +344,4 @@ eval $_CMD fi - -exit 0 - -sfcbrepos -f - -mkdir -p $_PREFIX/var/lib/sfcb/registration/repository/root/interop -rm -rf $_PREFIX/var/lib/sfcb/registration/repository/root/interop/* - -sfcbmof -I $_PREFIX/share/sfcb/CIM -i CIM_Schema.mof -o $_PREFIX/var/lib/sfcb/registration/repository/root/interop/classSchemas ./interop.mof - -sfcbd -tm ? - exit 0 - |