File susehelp-ghelp-for-yelp.patch of Package susehelp
Index: susehelp/bin/susehelp
===================================================================
--- susehelp.orig/bin/susehelp
+++ susehelp/bin/susehelp
@@ -97,8 +97,6 @@ if [ "$URI" = "" ]; then
URI="$SUSEHOMEPAGE"
fi
-URI=$(echo $URI | sed 's/^ghelp:/help:/')
-
# Are we running KDE?
USE_DESKTOP=${WINDOWMANAGER##*/}
@@ -130,6 +128,7 @@ if [ "$DOC_HOST" = "localhost" ] && \
exit 0
else
if [ "$USE_DESKTOP" = kde -o "$USE_DESKTOP" = startkde -o -z "$USE_LOCALSERVER" ]; then
+ URI=$(echo $URI | sed 's/^ghelp:/help:/')
if [ "$KDE_HELP" != "" ]; then
susehelp-khelpcenter $URI
exit 0