2015-01-07 18:23:21 +03:00
|
|
|
#!/bin/sh
|
2011-08-13 06:34:16 +04:00
|
|
|
|
|
|
|
welcomeURL="\
|
2012-02-19 13:43:26 +04:00
|
|
|
http://cgit.haiku-os.org/haiku/plain/docs/welcome/welcome_en.html"
|
2011-08-13 06:34:16 +04:00
|
|
|
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
|
|
|
|
|