haiku/data/bin/userguide
Matt Madia 5b9c0414de Added two scripts, which attempt to load the appropriate localized docs.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42630 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-08-13 02:34:16 +00:00

17 lines
397 B
Bash
Executable File

#!/bin/bash
userGuideURL="\
http://svn.haiku-os.org/haiku/haiku/trunk/docs/userguide/en/contents.html"
userGuideDir=/boot/system/documentation/userguide/
userGuide=$userGuideDir/en/contents.html
localizedUserGuide=$userGuideDir/"$LANG"/contents.html
if [ -f $localizedUserGuide ]; then
open file://$localizedUserGuide
elif [ -f $userGuide ]; then
open $userGuide
else
open $userGuideURL
fi