5W site logo 5W - мой домашний сайт-блог с картинками, кино и плюшками.

skype.txt

#!/bin/bash
#150916 sfs
LIBDIR="/usr/lib"

if [[ -e "$LIBDIR/libv4l/v4l2convert.so" ]]; then
export LD_PRELOAD="${LD_PRELOAD:+$LD_PRELOAD:}$LIBDIR/libv4l/v4l2convert.so"
fi

if [[ -e "/usr/share/skype/lib/libQtWebKit.so.4" ]]; then
export LD_PRELOAD="${LD_PRELOAD:+$LD_PRELOAD:}/usr/share/skype/lib/libQtWebKit.so.4"
fi

LD_LIBRARY_PATH="/opt/skype/lib" #exec "/opt/$p/bin/$p" "$@"

[ -f /usr/bin/pulseaudio ] || APULSEPATH="/usr/lib/apulse"
PULSE_LATENCY_MSEC=30 LD_LIBRARY_PATH=$APULSEPATH${LD_LIBRARY_PATH:+:$LD_LIBRARY_PATH} exec "/opt/skype/bin/skype" "$@"