17 lines
387 B
Bash
Executable File
17 lines
387 B
Bash
Executable File
#!/bin/bash
|
|
|
|
welcomeURL="\
|
|
http://cgit.haiku-os.org/haiku/plain/docs/welcome/welcome_en.html"
|
|
welcomeDir=/boot/system/documentation/welcome/
|
|
welcomeFile=$welcomeDir/welcome_en.html
|
|
localizedWelcomeFile=$welcomeDir/welcome_"$LANG".html
|
|
|
|
if [ -f $localizedWelcomeFile ]; then
|
|
open file://$localizedWelcomeFile
|
|
elif [ -f $welcomeFile ]; then
|
|
open $welcomeFile
|
|
else
|
|
open $welcomeURL
|
|
fi
|
|
|