xref: /AOO41X/main/desktop/scripts/mozwrapper.sh (revision ccf472fac61345b90df128c9d70828ae943e6a52)
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