aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden
diff options
context:
space:
mode:
authorDavid Walter Seikel2013-05-12 02:43:29 +1000
committerDavid Walter Seikel2013-05-12 02:43:29 +1000
commit979e9f8ad7732e4f084f02b62d4508b2eb6f28a3 (patch)
tree63db479403a5e2bc103d2e47469250effddc3a0e /linden
parentFix Inventory "Cut" and "Paste" deletes inventory item instead of moving it, ... (diff)
downloadmeta-impy-979e9f8ad7732e4f084f02b62d4508b2eb6f28a3.zip
meta-impy-979e9f8ad7732e4f084f02b62d4508b2eb6f28a3.tar.gz
meta-impy-979e9f8ad7732e4f084f02b62d4508b2eb6f28a3.tar.bz2
meta-impy-979e9f8ad7732e4f084f02b62d4508b2eb6f28a3.tar.xz
Fix - Did not register secondlife:// handler with KDE - http://redmine.kokuaviewer.org/issues/1068
Diffstat (limited to 'linden')
-rwxr-xr-xlinden/indra/newview/linux_tools/register_secondlifeprotocol.sh21
1 files changed, 11 insertions, 10 deletions
diff --git a/linden/indra/newview/linux_tools/register_secondlifeprotocol.sh b/linden/indra/newview/linux_tools/register_secondlifeprotocol.sh
index 338fc26..3f2378a 100755
--- a/linden/indra/newview/linux_tools/register_secondlifeprotocol.sh
+++ b/linden/indra/newview/linux_tools/register_secondlifeprotocol.sh
@@ -22,13 +22,12 @@ else
22fi 22fi
23 23
24# Register handler for KDE-aware apps 24# Register handler for KDE-aware apps
25if [ -z "$KDEHOME" ]; then 25for LLKDECONFIG in kde-config kde4-config; do
26 KDEHOME=~/.kde 26 if [ `which $LLKDECONFIG` ]; then
27fi 27 LLKDEPROTODIR=`$LLKDECONFIG --path services | cut -d ':' -f 1`
28LLKDEPROTDIR=${KDEHOME}/share/services 28 if [ -d "$LLKDEPROTODIR" ]; then
29if [ -d "$LLKDEPROTDIR" ]; then 29 LLKDEPROTOFILE=${LLKDEPROTODIR}/secondlife.protocol
30 LLKDEPROTFILE=${LLKDEPROTDIR}/secondlife.protocol 30 cat > ${LLKDEPROTOFILE} <<EOF || echo Warning: Did not register secondlife:// handler with KDE: Could not write ${LLKDEPROTOFILE}
31 cat > ${LLKDEPROTFILE} <<EOF || echo Warning: Did not register secondlife:// handler with KDE: Could not write ${LLKDEPROTFILE}
32[Protocol] 31[Protocol]
33exec=${HANDLER} '%u' 32exec=${HANDLER} '%u'
34protocol=secondlife 33protocol=secondlife
@@ -41,6 +40,8 @@ writing=false
41makedir=false 40makedir=false
42deleting=false 41deleting=false
43EOF 42EOF
44else 43 else
45 echo Info: Did not register secondlife:// handler with KDE: Directory $LLKDEPROTDIR does not exist. You can safely ignore this if you are not using KDE. 44 echo Warning: Did not register secondlife:// handler with KDE: Directory $LLKDEPROTODIR does not exist.
46fi 45 fi
46 fi
47done