File: setup.sh

package info (click to toggle)
teamspeak-client 2.0.32-2
  • links: PTS
  • area: non-free
  • in suites: etch, etch-m68k
  • size: 15,948 kB
  • ctags: 52
  • sloc: pascal: 1,103; makefile: 53; sh: 12
file content (19 lines) | stat: -rwxr-xr-x 773 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/bin/bash
###################################################################
#  This small bash script will initialize LD_LIBRARY_PATH to the  #
#  correct dir, so that the installer can find the qt library     #
#  Then it should execute the actual installer                    #
#                                                                 #
#  (C) 2003 by Niels Werensteijn                                  #
###################################################################

BASEDIR=${0%setup.sh}
IMAGEDIR=${BASEDIR}setup.data/image/
SETUPDIR=${BASEDIR}setup.data/installer/

if [ ${0:0:1} == "/" ]; 
   then export LD_LIBRARY_PATH="${IMAGEDIR}:${LD_LIBRARY_PATH}"
   else export LD_LIBRARY_PATH="`pwd`/${IMAGEDIR}:${LD_LIBRARY_PATH}"
fi

${SETUPDIR}installer