#!/bin/sh help_dir="@ededocdir@/manual" browser_list="firefox mozilla chromium-browser konqueror opera navigator dillo" program="ede-help" url="" if [ "$1" = "--help" ]; then cat < /dev/null 2>&1; then BROWSER="$i" break; fi done fi if [ "x$BROWSER" = "x" ]; then ede-dialog --title "$program error" --error " Failed to find any of known browsers! If you think how this is mistake, please try to set \ BROWSER environment variable with the full path pointing to the browser binary and run $program again" exit 1 fi # run browser $BROWSER $url if [ $? -ne 0 ]; then ede-dialog --title "$program error" --error " Unable to run $BROWSER browser! Please check if program path is correct or \ adjust BROWSER environment variable pointing to the correct binary file" exit 1 fi exit 0