block_cache: Implement cache_has_block_in_transaction function that will check the...
[haiku.git] / data / bin / userguide
blob67e7a9f0c4d432f718c63b8ba56039b2e5ffbf67
1 #!/bin/bash
3 userGuideURL="\
4 http://cgit.haiku-os.org/haiku/plain/docs/userguide/en/contents.html"
5 userGuideDir=/boot/system/documentation/userguide/
6 userGuide=$userGuideDir/en/contents.html
7 localizedUserGuide=$userGuideDir/"$LANG"/contents.html
9 if [ -f $localizedUserGuide ]; then
10 open file://$localizedUserGuide
11 elif [ -f $userGuide ]; then
12 open $userGuide
13 else
14 open $userGuideURL