diff options
author | Tess Chu <tess@lindenlab.com> | 2007-11-15 22:39:12 +0000 |
---|---|---|
committer | Tess Chu <tess@lindenlab.com> | 2007-11-15 22:39:12 +0000 |
commit | 813b140d0767146b17acf4ad2fb96fbd5a347c34 (patch) | |
tree | d47a36708813b3f93b4049d822f966c48de4e576 /indra/newview/linux_tools | |
parent | 291d99bc66c4c2b8009ba723a43e2e97d24313f9 (diff) |
svn merge -r73880:73879 svn+ssh://svn/svn/linden/release. backing out viewer auth merge
Diffstat (limited to 'indra/newview/linux_tools')
-rwxr-xr-x | indra/newview/linux_tools/handle_secondlifeprotocol.sh | 17 | ||||
-rwxr-xr-x | indra/newview/linux_tools/register_secondlifeprotocol.sh | 46 | ||||
-rwxr-xr-x | indra/newview/linux_tools/wrapper.sh | 4 |
3 files changed, 0 insertions, 67 deletions
diff --git a/indra/newview/linux_tools/handle_secondlifeprotocol.sh b/indra/newview/linux_tools/handle_secondlifeprotocol.sh deleted file mode 100755 index 7ff86d1b93..0000000000 --- a/indra/newview/linux_tools/handle_secondlifeprotocol.sh +++ /dev/null @@ -1,17 +0,0 @@ -#!/bin/bash - -# Send a URL of the form secondlife://... to Second Life. -# - -URL="$1" - -if [ -z "$URL" ]; then - echo Usage: $0 secondlife://... - exit -fi - -RUN_PATH=`dirname "$0" || echo .` -cd "${RUN_PATH}" - -exec ./secondlife -url \'"${URL}"\' - diff --git a/indra/newview/linux_tools/register_secondlifeprotocol.sh b/indra/newview/linux_tools/register_secondlifeprotocol.sh deleted file mode 100755 index 4ab96f97d6..0000000000 --- a/indra/newview/linux_tools/register_secondlifeprotocol.sh +++ /dev/null @@ -1,46 +0,0 @@ -#!/bin/bash - -# Register a protocol handler (default: handle_secondlifeprotocol.sh) for -# URLs of the form secondlife://... -# - -HANDLER="$1" - -RUN_PATH=`dirname "$0" || echo .` -cd "${RUN_PATH}" - -if [ -z "$HANDLER" ]; then - HANDLER=`pwd`/handle_secondlifeprotocol.sh -fi - -# Register handler for GNOME-aware apps -LLGCONFTOOL2=gconftool-2 -if which ${LLGCONFTOOL2} >/dev/null; then - (${LLGCONFTOOL2} -s -t string /desktop/gnome/url-handlers/secondlife/command "${HANDLER} \"%s\"" && ${LLGCONFTOOL2} -s -t bool /desktop/gnome/url-handlers/secondlife/enabled true) || echo Warning: Did not register secondlife:// handler with GNOME: ${LLGCONFTOOL2} failed. -else - echo Warning: Did not register secondlife:// handler with GNOME: ${LLGCONFTOOL2} not found. -fi - -# Register handler for KDE-aware apps -if [ -z "$KDEHOME" ]; then - KDEHOME=~/.kde -fi -LLKDEPROTDIR=${KDEHOME}/share/services -if [ -d "$LLKDEPROTDIR" ]; then - LLKDEPROTFILE=${LLKDEPROTDIR}/secondlife.protocol - cat > ${LLKDEPROTFILE} <<EOF || echo Warning: Did not register secondlife:// handler with KDE: Could not write ${LLKDEPROTFILE} -[Protocol] -exec=${HANDLER} '%u' -protocol=secondlife -input=none -output=none -helper=true -listing= -reading=false -writing=false -makedir=false -deleting=false -EOF -else - echo Warning: Did not register secondlife:// handler with KDE: Directory $LLKDEPROTDIR does not exist. -fi diff --git a/indra/newview/linux_tools/wrapper.sh b/indra/newview/linux_tools/wrapper.sh index 638a0f0b76..10041ee255 100755 --- a/indra/newview/linux_tools/wrapper.sh +++ b/indra/newview/linux_tools/wrapper.sh @@ -61,10 +61,6 @@ fi RUN_PATH=`dirname "$0" || echo .` cd "${RUN_PATH}" - -# Re-register the secondlife:// protocol handler every launch, for now. -./register_secondlifeprotocol.sh - if [ -n "$LL_TCMALLOC" ]; then tcmalloc_libs='/usr/lib/libtcmalloc.so.0 /usr/lib/libstacktrace.so.0 /lib/libpthread.so.0' all=1 |