summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJens-Heiner Rechtien <hr@openoffice.org>2004-09-09 10:47:20 +0000
committerJens-Heiner Rechtien <hr@openoffice.org>2004-09-09 10:47:20 +0000
commit92bf9faaf791365f5161bdcef6042c263c6e9983 (patch)
tree9018cec4829e492048b77bb56afd352a4ad7dc21
parent2e0366edf5901bc80bbbe47b9386c0c79252b548 (diff)
INTEGRATION: CWS ooo20040815 (1.1.4); FILE ADDED
2004/08/24 13:09:07 mh 1.1.4.1: add: missing mozwrapper.sh, #i10000#
-rw-r--r--desktop/scripts/mozwrapper.sh8
1 files changed, 8 insertions, 0 deletions
diff --git a/desktop/scripts/mozwrapper.sh b/desktop/scripts/mozwrapper.sh
new file mode 100644
index 000000000000..89b6415358be
--- /dev/null
+++ b/desktop/scripts/mozwrapper.sh
@@ -0,0 +1,8 @@
+#!/bin/sh
+
+# if mozilla is not found, specify full path here
+MOZILLA=mozilla
+
+if ${MOZILLA} -remote "openURL($1,new-window)" 2>&1 | egrep -si "not running on display"; then
+ ${MOZILLA} $1
+fi