From 7bc14a113e02fd13fc933930920baa02e16e4f4d Mon Sep 17 00:00:00 2001 From: Nicky Date: Wed, 4 Jun 2014 18:35:24 +0200 Subject: [PATCH] Test for existance and execution rights before tryin g to register second life and hop protocol. --- indra/newview/linux_tools/wrapper.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/indra/newview/linux_tools/wrapper.sh b/indra/newview/linux_tools/wrapper.sh index 374bba3a3c..f8d3e58147 100755 --- a/indra/newview/linux_tools/wrapper.sh +++ b/indra/newview/linux_tools/wrapper.sh @@ -96,8 +96,8 @@ echo "Running from ${RUN_PATH}" cd "${RUN_PATH}" # Re-register hop:// and secondlife:// protocol handler every launch, for now. -./etc/register_hopprotocol.sh -./etc/register_secondlifeprotocol.sh +test -x ./etc/register_hopprotocol.sh && ./etc/register_hopprotocol.sh +test -x ./etc/register_secondlifeprotocol.sh && ./etc/register_secondlifeprotocol.sh # Re-register the application with the desktop system every launch, for now. # AO: Disabled don't install by default