From 58e54082e858cf7b809c601e4583103c46ec317d Mon Sep 17 00:00:00 2001 From: Mark Vejvoda Date: Thu, 5 Aug 2010 05:10:27 +0000 Subject: [PATCH] - updated shell script launcher to work properly in open suse --- mk/linux/glest | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) diff --git a/mk/linux/glest b/mk/linux/glest index 6c83e4787..3aa845065 100755 --- a/mk/linux/glest +++ b/mk/linux/glest @@ -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'