From 813b140d0767146b17acf4ad2fb96fbd5a347c34 Mon Sep 17 00:00:00 2001 From: Tess Chu Date: Thu, 15 Nov 2007 22:39:12 +0000 Subject: svn merge -r73880:73879 svn+ssh://svn/svn/linden/release. backing out viewer auth merge --- .../linux_tools/handle_secondlifeprotocol.sh | 17 -------- .../linux_tools/register_secondlifeprotocol.sh | 46 ---------------------- indra/newview/linux_tools/wrapper.sh | 4 -- 3 files changed, 67 deletions(-) delete mode 100755 indra/newview/linux_tools/handle_secondlifeprotocol.sh delete mode 100755 indra/newview/linux_tools/register_secondlifeprotocol.sh (limited to 'indra/newview/linux_tools') 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} <