5b9c0414de
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42630 a95241bf-73f2-0310-859d-f6bbb57e9c96
17 lines
397 B
Bash
Executable File
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
|
|
|