xref: /trunk/main/desktop/scripts/mozwrapper.sh (revision fc9fd3f14a55d77b35643a64034752a178b2a5b0)
1#!/bin/sh
2
3# if mozilla is not found, specify full path here
4MOZILLA=mozilla
5
6if ${MOZILLA} -remote "openURL($1,new-window)" 2>&1 | egrep -si "not running on display"; then
7    ${MOZILLA} $1
8fi
9