File: doccentral

package info (click to toggle)
doc-central 1.8.2
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 128 kB
  • ctags: 44
  • sloc: python: 465; sh: 12; makefile: 1
file content (15 lines) | stat: -rwxr-xr-x 259 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/bin/bash

hostname="$DC_HOST"

if [ -z "$hostname" ]; then
    hostname="`hostname -f`"
fi

if [ -n "$1" ]; then
    exec sensible-browser http://$hostname/cgi-bin/doc-central/viewdoc.cgi?keyword=$1
else
    exec sensible-browser http://$hostname/dc/
fi