/usr/share/bless/help_script.sh is in bless 0.6.0-4.
This file is owned by root:root, with mode 0o755.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 | #!/bin/bash
# Script that loads help for Bless
xml_help="/usr/share/doc/bless/user/bless-manual.xml"
html_help="/usr/share/doc/bless/user/index.html"
# try to get default browsers from GConf
GCONFTOOL=`which gconftool-2 2> /dev/null`
if [ -n $GCONFTOOL ];
then
help_browser=`$GCONFTOOL --get "/desktop/gnome/url-handlers/ghelp/command"`
if [ -n "$help_browser" ];
then
help_browser=`echo "$help_browser" | sed s/\"%s\"// `
fi
http_browser=`$GCONFTOOL --get "/desktop/gnome/url-handlers/http/command"`
if [ -n "$http_browser" ];
then
http_browser=`echo "$http_browser" | sed s/\"%s\"// `
fi
fi
# some other browsers
yelp_browser=`which yelp 2> /dev/null`
firefox_browser=`which firefox 2> /dev/null`
mozilla_browser=`which mozilla 2> /dev/null`
([ -n $help_browser ] && $help_browser $xml_help) ||
([ -n $yelp_browser ] && $yelp_browser $xml_help) ||
([ -n $http_browser ] && $http_browser $html_help) ||
([ -n $firefox_browser ] && $firefox_browser $html_help) ||
([ -n $mozilla_browser ] && $mozilla_browser $html_help)
|