Ignore:
Timestamp:
Feb 25, 2017, 11:21:58 PM (4 years ago)
Author:
obi
Message:

fix

File:
1 edited

Legend:

Unmodified
Added
Removed
  • titan/mediathek/localhoster/hoster.sh

    r40097 r40100  
    2020
    2121BIN="$CMD"/bin/python."$ARCH"
    22 ln -fs /tmp/localhoster/lib/python2.7/lib-dynload."$ARCH" /tmp/localhoster/lib/python2.7/lib-dynload
    23 ln -fs /tmp/localhoster/lib/libpython2.7.so.1.0."$ARCH" /tmp/localhoster/lib/libpython2.7.so.1.0
     22
     23if [ ! -e "/tmp/localhoster/lib/python2.7/lib-dynload" ];then
     24        ln -fs /tmp/localhoster/lib/python2.7/lib-dynload."$ARCH" /tmp/localhoster/lib/python2.7/lib-dynload
     25fi
     26if [ ! -e "/tmp/localhoster/lib/libpython2.7.so.1.0" ];then
     27        ln -fs /tmp/localhoster/lib/libpython2.7.so.1.0."$ARCH" /tmp/localhoster/lib/libpython2.7.so.1.0
     28fi
    2429export PYTHONHOME=/tmp/localhoster
    2530export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/tmp/localhoster/lib
Note: See TracChangeset for help on using the changeset viewer.