2
echo "Content-Type: text/html"
4
if [ -f ../patch/manual.html ]; then
5
cat ../patch/manual.html
11
<title>Evergreen Staff Client</title>
14
<h1>Evergreen Staff Client</h1>
16
if [ -f ../patch/win/VERSION ]; then
17
echo "<h2>Windows</h2>"
18
VERSION=$(cat ../patch/win/VERSION)
19
if [ -f clients/${VERSION}_setup.exe ]; then
20
echo "<p>An installer for Windows is available.</p>"
21
echo "<p><a href=\"clients/${VERSION}_setup.exe\">Click here to download the installer (version $VERSION)</a></p>"
23
echo "<p>No installer is currently available for Windows.</p>"
26
if [ -f ../patch/lin/VERSION ]; then
28
VERSION=$(cat ../patch/lin/VERSION)
29
if [ -f clients/${VERSION}.tar.bz2 ]; then
30
echo "<p>A bundle for Linux is available.</p>"
31
echo "<p><a href=\"clients/${VERSION}.tar.bz2\">Click here to download the bundle (version $VERSION)</a></p>"
33
echo "<p>No bundle is currently available for Linux.</p>"
36
if [ -f ../patch/VERSION ]; then
37
echo "<h2>XULRunner App Bundle</h2>"
38
VERSION=$(cat ../patch/VERSION)
39
if [ -f clients/${VERSION}_client.xpi ]; then
40
echo "<p>A XULRunner app bundle is available.</p>"
41
echo "<p><a href=\"download/${VERSION}_client.xpi\">Click here to download the XULRunner app bundle (version $VERSION)</a></p>"
42
echo "<p>This bundle can be installed via the --install-app command on xulrunner itself and should be compatible with all platforms XULRunner runs on.</p>"
44
echo "<p>No XULRunner app bundle is currently available.</p>"
46
echo "<h2>Firefox Extension</h2>"
47
if [ -f ${VERSION}_extension.xpi ]; then
48
echo "<p>A Firefox Extension is available.</p>"
49
echo "<p><a href=\"${VERSION}_extension.xpi\">Click here to install the extension (version $VERSION)</a>"
51
echo "<p>No Firefox Extension is currently available.</p>"