diff options
Diffstat (limited to 'desktop/scripts/mozwrapper.sh')
-rw-r--r-- | desktop/scripts/mozwrapper.sh | 8 |
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 |