- updated shell script launcher to work properly in open suse

This commit is contained in:
Mark Vejvoda
2010-08-05 05:10:27 +00:00
parent 51931d5b18
commit 58e54082e8

View File

@@ -68,8 +68,21 @@ fi
OS_TYPE=`uname -m`
# OpenSuSE (11.3) needs its own openAL
if [ -f /etc/SuSE-release -a -f lib/libopenal* ]; then
rm -f lib/libopenal*
#if [ -f /etc/SuSE-release -a -f lib/libopenal* ]; then
if [ -f /etc/SuSE-release ]; then
#rm -f lib/libopenal*
# libcurl*, libgnu*, libicu*, liblua*, libxerces*
#mv `ls -1 | grep -v '\.abc$' | grep -v '\.xyz$' | xargs`
if [ ! -d lib/orig ]; then
mkdir lib/orig
mv lib/* lib/orig
cp lib/orig/libcurl* lib/
cp lib/orig/libgnu* lib/
cp lib/orig/libicu* lib/
cp lib/orig/liblua* lib/
cp lib/orig/libxerces* lib/
fi
fi
OPENAL_LINKEDLIBNAME='libopenal.so.0'