2 # Wrapper around xulrunner-stub to start the xulrunner application conkeror
3 # Written by Axel Beckert <abe@deuxchevaux.org> for the Debian Project
5 # Find an appropriate xulrunner-stub binary
7 for xr in /usr/share/conkeror/xulrunner-stub*; do
8 XRTMP=`readlink -m $xr`
9 if [ -n "$XRTMP" -a -x "$XRTMP" ]; then
14 if [ -z "$XULRUNNER" ]; then
15 echo "No xulrunner found. (Unsatisfied package dependencies?) Bailing out." 1>&2
19 if [ "$*" = "--help" ]; then
20 errormsg="`exec $XULRUNNER \"$@\" 2>&1`"
21 echo "$errormsg" | sed -e "s:/[^ ]*/xulrunner-stub[^ ]*:$0:; /-\(width\|height\)/d" 1>&2